From: Juri Linkov Date: Mon, 11 Dec 2023 17:16:37 +0000 (+0200) Subject: Fix typo in commit 3c093148958d56e0ed8e12a8e00ced1ef052259a X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6abea4d98d1d964c68a78cb9b5321071da851654;p=emacs.git Fix typo in commit 3c093148958d56e0ed8e12a8e00ced1ef052259a * lisp/minibuffer.el (minibuffer-completion-help): Set t to LOCAL arg of add-hook for after-change-functions. --- 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))