From: Mauro Aranda Date: Mon, 25 Mar 2019 13:38:39 +0000 (-0300) Subject: Fix repeated 'custom-add-option' in esh-mode.el (Bug#34993) X-Git-Tag: emacs-27.0.90~3261^2~110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=64925714ef6b4d7485e5aee7a8ac063c20c07bc5;p=emacs.git Fix repeated 'custom-add-option' in esh-mode.el (Bug#34993) * lisp/eshell/esh-mode.el: Call 'custom-add-option' with the right argument. --- 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."