From 9d52d4b173ab6ed5def0672a917d8c927e8193d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Sat, 16 Feb 2002 09:41:11 +0000 Subject: [PATCH] (eshell-smart-initialize): Do not use make-local-hook. --- lisp/eshell/em-smart.el | 6 ------ 1 file changed, 6 deletions(-) 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 () -- 2.39.5