From 2772b8b0c5750b6adaefdca4c4d8b2585b846d63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Sat, 16 Feb 2002 09:36:43 +0000 Subject: [PATCH] (eshell-alias-initialize): Do not use make-local-hook. --- lisp/eshell/em-alias.el | 2 -- 1 file changed, 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)) -- 2.39.2