Mercurial > emacs
diff lisp/eshell/em-hist.el @ 37654:08f6bad878f8
(eshell-add-to-history): Reference to `eshell-history-ring' needed to
be `eshell-history-index'.
author | John Wiegley <johnw@newartisans.com> |
---|---|
date | Thu, 10 May 2001 03:28:51 +0000 |
parents | 11b33211a908 |
children | 67b464da13ec |
line wrap: on
line diff
--- a/lisp/eshell/em-hist.el Thu May 10 03:27:46 2001 +0000 +++ b/lisp/eshell/em-hist.el Thu May 10 03:28:51 2001 +0000 @@ -374,7 +374,7 @@ (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)