From 6abea4d98d1d964c68a78cb9b5321071da851654 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 11 Dec 2023 19:16:37 +0200 Subject: [PATCH] Fix typo in commit 3c093148958d56e0ed8e12a8e00ced1ef052259a * lisp/minibuffer.el (minibuffer-completion-help): Set t to LOCAL arg of add-hook for after-change-functions. --- lisp/minibuffer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index a9814fb0bac..1af890968d0 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -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)) -- 2.39.2