Browse Source

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

pull/1/head
10sr 10 years ago
parent
commit
e9e0cea265
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el View 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")


Loading…
Cancel
Save