diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-07-13 11:43:42 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-07-15 09:10:30 -0700 |
commit | 3407e274999ce80582932332b108d84fba69d107 (patch) | |
tree | 82ef65684dc590b458d7f23e1d3ec6555db662f1 /test/lisp/emacs-lisp/bytecomp-resources/warn-variable-setq-nonvariable.el | |
parent | 5ec73eca57c09ad1a33c56dc4cd5b965cfaef063 (diff) | |
download | emacs-3407e274999ce80582932332b108d84fba69d107.tar.gz emacs-3407e274999ce80582932332b108d84fba69d107.tar.bz2 emacs-3407e274999ce80582932332b108d84fba69d107.zip |
Don't save to history from 'eshell-command' when aborting
* lisp/eshell/eshell.el (eshell-add-input-to-history)
(eshell--save-history): Declare.
(eshell-command-mode-exit): New function...
(eshell-command-mode): ... use it.
* lisp/eshell/em-hist.el (eshell-hist-initialize): Don't handle
minibuffer logic here. Always read history file (this ensures that
'eshell-command' can see the history, too).
(eshell-add-command-to-history): Remove.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-variable-setq-nonvariable.el')
0 files changed, 0 insertions, 0 deletions