changeset 43333:8ef92d7fb166

(eshell-smart-initialize): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 16 Feb 2002 09:41:11 +0000
parents ab078394a536
children fcff0a75131f
files lisp/eshell/em-smart.el
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-smart.el	Sat Feb 16 09:40:40 2002 +0000
+++ b/lisp/eshell/em-smart.el	Sat Feb 16 09:41:11 2002 +0000
@@ -172,22 +172,16 @@
     (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 ()