]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-alias-initialize): Do not use make-local-hook.
authorPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:36:43 +0000 (09:36 +0000)
committerPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:36:43 +0000 (09:36 +0000)
lisp/eshell/em-alias.el

index 0dd908be99cde0ea451a9cce1547235f62db2f11..ff6d66eb9e91d344569d56a253a6fd6171001aef 100644 (file)
@@ -147,10 +147,8 @@ command, which will automatically write them to the file named by
 (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))