# HG changeset patch # User Pavel Jank # Date 1013852306 0 # Node ID 75975b4cc75c5e9c65a4c19ac7293543f97142a1 # Parent e72420b8d34f8ea4de47214f6cc44ae646d97db4 (eshell-dirs-initialize): Do not use make-local-hook. diff -r e72420b8d34f -r 75975b4cc75c lisp/eshell/em-dirs.el --- 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))