aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorDavid Kastrup2015-07-25 18:54:42 +0200
committerDavid Kastrup2015-08-04 14:34:15 +0200
commit5022e27dac4c13651941e425dbec5b3a2cecdae4 (patch)
tree696d748c8abc3aea1bfd5305a8e71dc985053496 /lisp/eshell
parent227e996946d4629fa8f6d665564a37668290c87f (diff)
downloademacs-5022e27dac4c13651941e425dbec5b3a2cecdae4.tar.gz
emacs-5022e27dac4c13651941e425dbec5b3a2cecdae4.zip
; Do not overwrite preexisting contents of unread-command-events
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 1cdf6d69714..9f070c33db3 100644
--- a/lisp/eshell/em-hist.el
+++ b/lisp/eshell/em-hist.el
@@ -520,7 +520,7 @@ See also `eshell-read-history'."
520 (let ((ch (read-event))) 520 (let ((ch (read-event)))
521 (if (eq ch ?\ ) 521 (if (eq ch ?\ )
522 (set-window-configuration conf) 522 (set-window-configuration conf)
523 (setq unread-command-events (list ch)))))))) 523 (push ch unread-command-events)))))))
524 524
525(defun eshell-hist-word-reference (ref) 525(defun eshell-hist-word-reference (ref)
526 "Return the word designator index referred to by REF." 526 "Return the word designator index referred to by REF."