changeset 43327:75975b4cc75c

(eshell-dirs-initialize): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 16 Feb 2002 09:38:26 +0000
parents e72420b8d34f
children 42689b487e23
files lisp/eshell/em-dirs.el
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-dirs.el	Sat Feb 16 09:37:54 2002 +0000
+++ b/lisp/eshell/em-dirs.el	Sat Feb 16 09:38:26 2002 +0000
@@ -211,7 +211,6 @@
 		      '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 @@
 		'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 @@
   (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))