changeset 41574:1b925c10d7bc

(icomplete-minibuffer-setup): Remove make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Mon, 26 Nov 2001 16:27:15 +0000
parents be1c031e600f
children 71c0f635874b
files lisp/icomplete.el
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/icomplete.el	Mon Nov 26 16:27:00 2001 +0000
+++ b/lisp/icomplete.el	Mon Nov 26 16:27:15 2001 +0000
@@ -207,12 +207,10 @@
   "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)))