diff options
author | Pavel Janík <Pavel@Janik.cz> | 2002-02-16 09:36:43 +0000 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2002-02-16 09:36:43 +0000 |
commit | 2772b8b0c5750b6adaefdca4c4d8b2585b846d63 (patch) | |
tree | 90a855936b6229e58fd28829e593f4c40d4c37d6 /lisp/eshell/em-alias.el | |
parent | 7b403e01bd5f26f38445503335a2217d2dd47418 (diff) | |
download | emacs-2772b8b0c5750b6adaefdca4c4d8b2585b846d63.tar.gz |
(eshell-alias-initialize): Do not use make-local-hook.
Diffstat (limited to 'lisp/eshell/em-alias.el')
-rw-r--r-- | lisp/eshell/em-alias.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/eshell/em-alias.el b/lisp/eshell/em-alias.el index 0dd908be99c..ff6d66eb9e9 100644 --- a/lisp/eshell/em-alias.el +++ b/lisp/eshell/em-alias.el @@ -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)) |