From: Pavel Janík Date: Sat, 16 Feb 2002 09:37:54 +0000 (+0000) Subject: (eshell-cmpl-initialize): Do not use make-local-hook. X-Git-Tag: ttn-vms-21-2-B4~16654 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90100aac65972b46978d86cc39d04ebdd28fdb1f;p=emacs.git (eshell-cmpl-initialize): Do not use make-local-hook. --- diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el index 14407a8f236..b923cffff4e 100644 --- a/lisp/eshell/em-cmpl.el +++ b/lisp/eshell/em-cmpl.el @@ -277,13 +277,11 @@ to writing a completion function." ;; `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)