From 006041e58ef7adc6bb8b5a966887a77e52d7f2a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Mon, 26 Nov 2001 16:27:15 +0000 Subject: [PATCH] (icomplete-minibuffer-setup): Remove make-local-hook. --- lisp/icomplete.el | 2 -- 1 file changed, 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: "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))) -- 2.39.5