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=74f7d89bc34e58ffab311f44ad7c23df34d55e93;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. (cherry picked from commit 6abea4d98d1d964c68a78cb9b5321071da851654) --- diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 11813512036..fc730ae0e3f 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))