]> 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)
committerEshel Yaron <me@eshelyaron.com>
Mon, 11 Dec 2023 20:46:52 +0000 (21:46 +0100)
* lisp/minibuffer.el (minibuffer-completion-help):
Set t to LOCAL arg of add-hook for after-change-functions.

(cherry picked from commit 6abea4d98d1d964c68a78cb9b5321071da851654)

lisp/minibuffer.el

index 11813512036c84ea3ce5088225c5b1f91ec1039c..fc730ae0e3fe26f7c18b0b122ee2013693aa1e3e 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))