mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(eshell-add-to-history): Reference to `eshell-history-ring' needed to
be `eshell-history-index'.
This commit is contained in:
parent
d089e2995b
commit
734f7362aa
@ -374,7 +374,7 @@ input."
|
||||
(ring-empty-p eshell-history-ring)
|
||||
(not (string-equal (eshell-get-history 0) input))))
|
||||
(eshell-put-history input))
|
||||
(setq eshell-save-history-index eshell-history-ring)
|
||||
(setq eshell-save-history-index eshell-history-index)
|
||||
(setq eshell-history-index nil))))
|
||||
|
||||
(defun eshell-read-history (&optional filename silent)
|
||||
|
Loading…
Reference in New Issue
Block a user