]> git.eshelyaron.com Git - emacs.git/commit
Fix adding to history via 'eshell-command'
authorJim Porter <jporterbugs@gmail.com>
Tue, 28 May 2024 21:43:28 +0000 (14:43 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 29 May 2024 10:12:32 +0000 (12:12 +0200)
commit9d3af94619df698e9507ce54d276f9ee644bec66
tree3470416851ea324442d76b526f641c76c984de70
parent1cb1de7f067bcbe5fd078cfb5cec1ebc1b460a08
Fix adding to history via 'eshell-command'

* lisp/eshell/eshell.el (eshell-read-command): Don't handle history
here.

* lisp/eshell/em-hist.el (eshell-hist-initialize): Properly set up
history for minibuffer.
(eshell-add-command-to-history): Immediately save history.

(cherry picked from commit 7e326b915f45346803edb52b5023db9b765ed07a)
lisp/eshell/em-hist.el
lisp/eshell/eshell.el