From 35a3b29715e0acd14e65dd5d50916064c97bc10f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Sat, 16 Feb 2002 09:38:26 +0000 Subject: [PATCH] (eshell-dirs-initialize): Do not use make-local-hook. --- lisp/eshell/em-dirs.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el index 140dc217bee..1eafe1ffd73 100644 --- a/lisp/eshell/em-dirs.el +++ b/lisp/eshell/em-dirs.el @@ -211,7 +211,6 @@ Thus, this does not include the current directory.") 'eshell-dirs-substitute-cd) eshell-interpreter-alist))) - (make-local-hook 'eshell-parse-argument-hook) (add-hook 'eshell-parse-argument-hook 'eshell-parse-user-reference nil t) (if (eshell-under-windows-p) @@ -219,7 +218,6 @@ Thus, this does not include the current directory.") 'eshell-parse-drive-letter nil t)) (when (eshell-using-module 'eshell-cmpl) - (make-local-hook 'pcomplete-try-first-hook) (add-hook 'pcomplete-try-first-hook 'eshell-complete-user-reference nil t)) @@ -231,7 +229,6 @@ Thus, this does not include the current directory.") (unless eshell-last-dir-ring (setq eshell-last-dir-ring (make-ring eshell-last-dir-ring-size))) - (make-local-hook 'eshell-exit-hook) (add-hook 'eshell-exit-hook 'eshell-write-last-dir-ring nil t) (add-hook 'kill-emacs-hook 'eshell-save-some-last-dir)) -- 2.39.5