Sfoglia il codice sorgente

emacs.el: Print message on toggling eshell-text-mode

pull/1/head
10sr 10 anni fa
parent
commit
e9e0cea265
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el Vedi File

@@ -1914,9 +1914,11 @@ Optional prefix ARG says how many lines to unflag; default is one line."
(cond ((eq major-mode
'eshell-text-mode)
(goto-char (point-max))
(message "Eshell text mode disabled")
(eshell-mode))
((eq major-mode
'eshell-mode)
(message "Eshell text mode enabled")
(eshell-text-mode))
(t
(message "Not in eshell buffer")


Caricamento…
Annulla
Salva