]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in commit 3c093148958d56e0ed8e12a8e00ced1ef052259a
authorJuri Linkov <juri@linkov.net>
Mon, 11 Dec 2023 17:16:37 +0000 (19:16 +0200)
committerJuri Linkov <juri@linkov.net>
Mon, 11 Dec 2023 17:16:37 +0000 (19:16 +0200)
* lisp/minibuffer.el (minibuffer-completion-help):
Set t to LOCAL arg of add-hook for after-change-functions.

lisp/minibuffer.el

index a9814fb0bacf28bc7440078a5afd7ce63b9ea9b3..1af890968d0658e617410f409c0f36bf562a6c19 100644 (file)
@@ -2551,7 +2551,7 @@ The candidate will still be chosen by `choose-completion' unless
              . ,#'(lambda (_window)
                     (with-current-buffer mainbuf
                       (when completion-auto-deselect
-                        (add-hook 'after-change-functions #'completions--after-change t))
+                        (add-hook 'after-change-functions #'completions--after-change nil t))
                       ;; Remove the base-size tail because `sort' requires a properly
                       ;; nil-terminated list.
                       (when last (setcdr last nil))