Commit 734f7362 authored by John Wiegley's avatar John Wiegley
Browse files

(eshell-add-to-history): Reference to `eshell-history-ring' needed to

be `eshell-history-index'.
parent d089e299
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment