changeset 43326:e72420b8d34f

(eshell-cmpl-initialize): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 16 Feb 2002 09:37:54 +0000
parents 78acbd1ebf65
children 75975b4cc75c
files lisp/eshell/em-cmpl.el
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-cmpl.el	Sat Feb 16 09:36:43 2002 +0000
+++ b/lisp/eshell/em-cmpl.el	Sat Feb 16 09:37:54 2002 +0000
@@ -277,13 +277,11 @@
   ;; `pcomplete-arg-quote-list' should only be set after all the
   ;; load-hooks for any other extension modules have been run, which
   ;; is true at the time `eshell-mode-hook' is run
-  (make-local-hook 'eshell-mode-hook)
   (add-hook 'eshell-mode-hook
 	    (function
 	     (lambda ()
 	       (set (make-local-variable 'pcomplete-arg-quote-list)
 		    eshell-special-chars-outside-quoting))) nil t)
-  (make-local-hook 'pcomplete-quote-arg-hook)
   (add-hook 'pcomplete-quote-arg-hook 'eshell-quote-backslash nil t)
   (define-key eshell-mode-map [(meta tab)] 'lisp-complete-symbol)
   (define-key eshell-mode-map [(meta control ?i)] 'lisp-complete-symbol)