aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Aranda2019-03-25 10:38:39 -0300
committerNoam Postavsky2019-04-03 22:41:39 -0400
commit64925714ef6b4d7485e5aee7a8ac063c20c07bc5 (patch)
tree6f81612ed34beda63088235503f924fa19e06f8a
parent8147d3c27cbf29e18dbdd6bad21cd17bc880a8d3 (diff)
downloademacs-64925714ef6b4d7485e5aee7a8ac063c20c07bc5.tar.gz
emacs-64925714ef6b4d7485e5aee7a8ac063c20c07bc5.zip
Fix repeated 'custom-add-option' in esh-mode.el (Bug#34993)
* lisp/eshell/esh-mode.el: Call 'custom-add-option' with the right argument.
-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
5519term behavior." 5519term behavior."
552 (goto-char eshell-last-input-start)) 552 (goto-char eshell-last-input-start))
553 553
554(custom-add-option 'eshell-pre-command-hook 'eshell-push-command-mark) 554(custom-add-option 'eshell-pre-command-hook 'eshell-goto-input-start)
555 555
556(defsubst eshell-interactive-print (string) 556(defsubst eshell-interactive-print (string)
557 "Print STRING to the eshell display buffer." 557 "Print STRING to the eshell display buffer."