From c2dff9ce0a9126c2256394df261101b920fcd30f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Sat, 16 Feb 2002 09:43:17 +0000 Subject: [PATCH] (eshell-mode): Do not use make-local-hook. --- lisp/eshell/esh-mode.el | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index acf8b22fecf..4e031b0e0b8 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el @@ -415,8 +415,6 @@ This is used by `eshell-watch-for-password-prompt'." (if (and load-hook (boundp load-hook)) (run-hooks load-hook)))) - (make-local-hook 'pre-command-hook) - (if eshell-send-direct-to-subprocesses (add-hook 'pre-command-hook 'eshell-intercept-commands t t)) @@ -427,12 +425,9 @@ This is used by `eshell-watch-for-password-prompt'." (set (make-local-variable 'scroll-conservatively) 1000)) (when eshell-status-in-modeline - (make-local-hook 'eshell-pre-command-hook) (add-hook 'eshell-pre-command-hook 'eshell-command-started nil t) - (make-local-hook 'eshell-post-command-hook) (add-hook 'eshell-post-command-hook 'eshell-command-finished nil t)) - (make-local-hook 'kill-buffer-hook) (add-hook 'kill-buffer-hook (function (lambda () -- 2.39.2