# HG changeset patch # User Pavel Jank # Date 1013852471 0 # Node ID 8ef92d7fb16607b8aae71c403340a3581a6a4a6d # Parent ab078394a53614b62d33bf27030a24f93505529e (eshell-smart-initialize): Do not use make-local-hook. diff -r ab078394a536 -r 8ef92d7fb166 lisp/eshell/em-smart.el --- 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 ()