aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2007-09-21 02:59:33 +0000
committerGlenn Morris2007-09-21 02:59:33 +0000
commit007306f92da51d1e4b06d50e6937a51335e07577 (patch)
treecfa833509546018ea950a325b0972e9dfab62e62 /lisp
parent965d1f0e2552c367183129546716f93eef5e5c49 (diff)
downloademacs-007306f92da51d1e4b06d50e6937a51335e07577.tar.gz
emacs-007306f92da51d1e4b06d50e6937a51335e07577.zip
(eshell-output-filter-functions): Add eshell-postoutput-scroll-to-bottom.
Diffstat (limited to 'lisp')
-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)