changeset 78869:238c49dfaa1b

(eshell-output-filter-functions): Add eshell-postoutput-scroll-to-bottom.
author Glenn Morris <rgm@gnu.org>
date Sat, 22 Sep 2007 02:44:27 +0000
parents b77f2b24ff2d
children 72989badaad7
files lisp/eshell/esh-mode.el
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/esh-mode.el	Sat Sep 22 02:44:05 2007 +0000
+++ b/lisp/eshell/esh-mode.el	Sat Sep 22 02:44:27 2007 +0000
@@ -165,7 +165,8 @@
   :group 'eshell-mode)
 
 (defcustom eshell-output-filter-functions
-  '(eshell-handle-control-codes
+  '(eshell-postoutput-scroll-to-bottom
+    eshell-handle-control-codes
     eshell-watch-for-password-prompt)
   "*Functions to call before output is displayed.
 These functions are only called for output that is displayed
@@ -880,9 +881,6 @@
 	 nil t)
       (set-buffer current))))
 
-(custom-add-option 'eshell-output-filter-functions
-		   'eshell-postoutput-scroll-to-bottom)
-
 (defun eshell-beginning-of-input ()
   "Return the location of the start of the previous input."
   eshell-last-input-start)