aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Janík2001-11-26 16:27:15 +0000
committerPavel Janík2001-11-26 16:27:15 +0000
commit006041e58ef7adc6bb8b5a966887a77e52d7f2a5 (patch)
treeaf67366df16f1e642f65693847fbcd2e774bfb9d
parentfa9f58dd20986fd4872bea37fc7a6a9c36baab8b (diff)
downloademacs-006041e58ef7adc6bb8b5a966887a77e52d7f2a5.tar.gz
emacs-006041e58ef7adc6bb8b5a966887a77e52d7f2a5.zip
(icomplete-minibuffer-setup): Remove make-local-hook.
-rw-r--r--lisp/icomplete.el2
1 files changed, 0 insertions, 2 deletions
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:
207 "Run in minibuffer on activation to establish incremental completion. 207 "Run in minibuffer on activation to establish incremental completion.
208Usually run by inclusion in `minibuffer-setup-hook'." 208Usually run by inclusion in `minibuffer-setup-hook'."
209 (cond ((and icomplete-mode (icomplete-simple-completing-p)) 209 (cond ((and icomplete-mode (icomplete-simple-completing-p))
210 (make-local-hook 'pre-command-hook)
211 (add-hook 'pre-command-hook 210 (add-hook 'pre-command-hook
212 (function (lambda () 211 (function (lambda ()
213 (run-hooks 'icomplete-pre-command-hook))) 212 (run-hooks 'icomplete-pre-command-hook)))
214 nil t) 213 nil t)
215 (make-local-hook 'post-command-hook)
216 (add-hook 'post-command-hook 214 (add-hook 'post-command-hook
217 (function (lambda () 215 (function (lambda ()
218 (run-hooks 'icomplete-post-command-hook))) 216 (run-hooks 'icomplete-post-command-hook)))