Mercurial > emacs
changeset 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 | 2b50df29a117 |
children | dbce347b20da |
files | lisp/eshell/em-hist.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)