]> git.eshelyaron.com Git - emacs.git/commitdiff
(icomplete-minibuffer-setup): Remove make-local-hook.
authorPavel Janík <Pavel@Janik.cz>
Mon, 26 Nov 2001 16:27:15 +0000 (16:27 +0000)
committerPavel Janík <Pavel@Janik.cz>
Mon, 26 Nov 2001 16:27:15 +0000 (16:27 +0000)
lisp/icomplete.el

index 784773067717bc7017f7c47fcde2ca1d522b0201..e35458f156bf6c0b8a1ad51f8687deef1c475d70 100644 (file)
@@ -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)))