aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-hist.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el
index 993e9d63a94..db5e98062a9 100644
--- a/lisp/eshell/em-hist.el
+++ b/lisp/eshell/em-hist.el
@@ -609,7 +609,7 @@ See also `eshell-read-history'."
609 history)))) 609 history))))
610 (setq index (1- index))) 610 (setq index (1- index)))
611 (let ((fhist (list t))) 611 (let ((fhist (list t)))
612 ;; uniqify the list, but preserve the order 612 ;; uniquify the list, but preserve the order
613 (while history 613 (while history
614 (unless (member (car history) fhist) 614 (unless (member (car history) fhist)
615 (nconc fhist (list (car history)))) 615 (nconc fhist (list (car history))))