]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-output-filter-functions): Add eshell-postoutput-scroll-to-bottom.
authorGlenn Morris <rgm@gnu.org>
Sat, 22 Sep 2007 02:44:27 +0000 (02:44 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 22 Sep 2007 02:44:27 +0000 (02:44 +0000)
lisp/eshell/esh-mode.el

index e6e47d6b980bec3915a260d6e8c6f3df91a48bc5..fd3cfb939961d18af33d606e34955a86625a1c65 100644 (file)
@@ -165,7 +165,8 @@ number, if the function `eshell-truncate-buffer' is on
   :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 @@ This function should be in the list `eshell-output-filter-functions'."
         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)