[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 6492571 1/2: Fix repeated 'custom-add-option' in es
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] master 6492571 1/2: Fix repeated 'custom-add-option' in esh-mode.el (Bug#34993) |
Date: |
Wed, 3 Apr 2019 22:51:30 -0400 (EDT) |
branch: master
commit 64925714ef6b4d7485e5aee7a8ac063c20c07bc5
Author: Mauro Aranda <address@hidden>
Commit: Noam Postavsky <address@hidden>
Fix repeated 'custom-add-option' in esh-mode.el (Bug#34993)
* lisp/eshell/esh-mode.el: Call 'custom-add-option' with the right
argument.
---
lisp/eshell/esh-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index 3029876..0a160b9 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."