From: Pavel Janík Date: Mon, 26 Nov 2001 16:27:15 +0000 (+0000) Subject: (icomplete-minibuffer-setup): Remove make-local-hook. X-Git-Tag: ttn-vms-21-2-B4~18121 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=006041e58ef7adc6bb8b5a966887a77e52d7f2a5;p=emacs.git (icomplete-minibuffer-setup): Remove make-local-hook. --- diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 78477306771..e35458f156b 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -207,12 +207,10 @@ Conditions are: "Run in minibuffer on activation to establish incremental completion. Usually run by inclusion in `minibuffer-setup-hook'." (cond ((and icomplete-mode (icomplete-simple-completing-p)) - (make-local-hook 'pre-command-hook) (add-hook 'pre-command-hook (function (lambda () (run-hooks 'icomplete-pre-command-hook))) nil t) - (make-local-hook 'post-command-hook) (add-hook 'post-command-hook (function (lambda () (run-hooks 'icomplete-post-command-hook)))