summaryrefslogtreecommitdiff
path: root/lisp/eshell/esh-mode.el
diff options
context:
space:
mode:
authorMauro Aranda <maurooaranda@gmail.com>2019-03-25 10:38:39 -0300
committerNoam Postavsky <npostavs@users.sourceforge.net>2019-04-03 22:41:39 -0400
commit64925714ef6b4d7485e5aee7a8ac063c20c07bc5 (patch)
tree6f81612ed34beda63088235503f924fa19e06f8a /lisp/eshell/esh-mode.el
parent8147d3c27cbf29e18dbdd6bad21cd17bc880a8d3 (diff)
downloademacs-64925714ef6b4d7485e5aee7a8ac063c20c07bc5.tar.gz
Fix repeated 'custom-add-option' in esh-mode.el (Bug#34993)
* lisp/eshell/esh-mode.el: Call 'custom-add-option' with the right argument.
Diffstat (limited to 'lisp/eshell/esh-mode.el')
-rw-r--r--lisp/eshell/esh-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index 30298763a53..0a160b9ab37 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -551,7 +551,7 @@ Putting this function on `eshell-pre-command-hook' will mimic Plan 9's
9term behavior."
(goto-char eshell-last-input-start))
-(custom-add-option 'eshell-pre-command-hook 'eshell-push-command-mark)
+(custom-add-option 'eshell-pre-command-hook 'eshell-goto-input-start)
(defsubst eshell-interactive-print (string)
"Print STRING to the eshell display buffer."