From: Glenn Morris Date: Sat, 22 Sep 2007 02:44:27 +0000 (+0000) Subject: (eshell-output-filter-functions): Add eshell-postoutput-scroll-to-bottom. X-Git-Tag: emacs-pretest-22.1.90~755 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=027f175fa9d54aeeee95cd2c3a76800df9041678;p=emacs.git (eshell-output-filter-functions): Add eshell-postoutput-scroll-to-bottom. --- 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 :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)