1
0
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:
John Wiegley 2001-05-10 03:28:51 +00:00
parent d089e2995b
commit 734f7362aa

View File

@ -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)