From: Pavel Janík Date: Sat, 16 Feb 2002 09:41:11 +0000 (+0000) Subject: (eshell-smart-initialize): Do not use make-local-hook. X-Git-Tag: ttn-vms-21-2-B4~16647 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d52d4b173ab6ed5def0672a917d8c927e8193d9;p=emacs.git (eshell-smart-initialize): Do not use make-local-hook. --- diff --git a/lisp/eshell/em-smart.el b/lisp/eshell/em-smart.el index fe787cd19e9..4002914027a 100644 --- a/lisp/eshell/em-smart.el +++ b/lisp/eshell/em-smart.el @@ -172,22 +172,16 @@ The options are `begin', `after' or `end'." (set (make-local-variable 'eshell-scroll-to-bottom-on-input) nil) (set (make-local-variable 'eshell-scroll-show-maximum-output) t) - (make-local-hook 'window-scroll-functions) (add-hook 'window-scroll-functions 'eshell-smart-scroll-window nil t) (add-hook 'window-configuration-change-hook 'eshell-refresh-windows) - (make-local-hook 'eshell-output-filter-functions) (add-hook 'eshell-output-filter-functions 'eshell-refresh-windows t t) - (make-local-hook 'pre-command-hook) - (make-local-hook 'after-change-functions) (add-hook 'after-change-functions 'eshell-disable-after-change nil t) - (make-local-hook 'eshell-input-filter-functions) (add-hook 'eshell-input-filter-functions 'eshell-smart-display-setup nil t) (make-local-variable 'eshell-smart-command-done) - (make-local-hook 'eshell-post-command-hook) (add-hook 'eshell-post-command-hook (function (lambda ()