aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorGlenn Morris2007-09-22 02:44:27 +0000
committerGlenn Morris2007-09-22 02:44:27 +0000
commit027f175fa9d54aeeee95cd2c3a76800df9041678 (patch)
tree00a61d88315f5440c0b918e71a581c1213b184a4 /lisp/eshell
parent96558d6b376f980bd90eb6a87359ad5225206796 (diff)
downloademacs-027f175fa9d54aeeee95cd2c3a76800df9041678.tar.gz
emacs-027f175fa9d54aeeee95cd2c3a76800df9041678.zip
(eshell-output-filter-functions): Add eshell-postoutput-scroll-to-bottom.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-mode.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index e6e47d6b980..fd3cfb93996 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -165,7 +165,8 @@ number, if the function `eshell-truncate-buffer' is on
165 :group 'eshell-mode) 165 :group 'eshell-mode)
166 166
167(defcustom eshell-output-filter-functions 167(defcustom eshell-output-filter-functions
168 '(eshell-handle-control-codes 168 '(eshell-postoutput-scroll-to-bottom
169 eshell-handle-control-codes
169 eshell-watch-for-password-prompt) 170 eshell-watch-for-password-prompt)
170 "*Functions to call before output is displayed. 171 "*Functions to call before output is displayed.
171These functions are only called for output that is displayed 172These functions are only called for output that is displayed
@@ -880,9 +881,6 @@ This function should be in the list `eshell-output-filter-functions'."
880 nil t) 881 nil t)
881 (set-buffer current)))) 882 (set-buffer current))))
882 883
883(custom-add-option 'eshell-output-filter-functions
884 'eshell-postoutput-scroll-to-bottom)
885
886(defun eshell-beginning-of-input () 884(defun eshell-beginning-of-input ()
887 "Return the location of the start of the previous input." 885 "Return the location of the start of the previous input."
888 eshell-last-input-start) 886 eshell-last-input-start)