Browse Source

Save command history on entering eshell-text-mode

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

+ 1
- 0
emacs.el View File

@@ -1961,6 +1961,7 @@ C-x t to toggling emacs-text-mode
((eq major-mode
'eshell-mode)
(message "Eshell text mode enabled")
(eshell-write-history)
(eshell-text-mode))
(t
(message "Not in eshell buffer")


Loading…
Cancel
Save