changeset 43325:78acbd1ebf65

(eshell-alias-initialize): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 16 Feb 2002 09:36:43 +0000
parents b90af8c0260f
children e72420b8d34f
files lisp/eshell/em-alias.el
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-alias.el	Sat Feb 16 08:39:16 2002 +0000
+++ b/lisp/eshell/em-alias.el	Sat Feb 16 09:36:43 2002 +0000
@@ -147,10 +147,8 @@
 (defun eshell-alias-initialize ()
   "Initialize the alias handling code."
   (make-local-variable 'eshell-failed-commands-alist)
-  (make-local-hook 'eshell-alternate-command-hook)
   (add-hook 'eshell-alternate-command-hook 'eshell-fix-bad-commands t t)
   (eshell-read-aliases-list)
-  (make-local-hook 'eshell-named-command-hook)
   (add-hook 'eshell-named-command-hook 'eshell-maybe-replace-by-alias t t)
   (make-local-variable 'eshell-complex-commands)
   (add-to-list 'eshell-complex-commands 'eshell-command-aliased-p))