]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-smart-initialize): Do not use make-local-hook.
authorPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:41:11 +0000 (09:41 +0000)
committerPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:41:11 +0000 (09:41 +0000)
lisp/eshell/em-smart.el

index fe787cd19e92604dbb4b717755ec9312ae74bcb0..4002914027a643f7fbee444c0a20abf1a6e67237 100644 (file)
@@ -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 ()