# HG changeset patch # User Pavel Jank # Date 1013852203 0 # Node ID 78acbd1ebf651fff92cdc777b31d87ccde8bc248 # Parent b90af8c0260fc885499a12cf35346d5b51995f1e (eshell-alias-initialize): Do not use make-local-hook. diff -r b90af8c0260f -r 78acbd1ebf65 lisp/eshell/em-alias.el --- 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))