]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix repeated 'custom-add-option' in esh-mode.el (Bug#34993)
authorMauro Aranda <maurooaranda@gmail.com>
Mon, 25 Mar 2019 13:38:39 +0000 (10:38 -0300)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Thu, 4 Apr 2019 02:41:39 +0000 (22:41 -0400)
* lisp/eshell/esh-mode.el: Call 'custom-add-option' with the right
argument.

lisp/eshell/esh-mode.el

index 30298763a53b65f754e5d7799706b50e82d8933a..0a160b9ab37d35597bb443095e2f0f521c3b09a0 100644 (file)
@@ -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."