emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master cacfd03 3/6: (minibuffer-completion-help): Do not check `completi


From: Juri Linkov
Subject: master cacfd03 3/6: (minibuffer-completion-help): Do not check `completions-group` centrally
Date: Thu, 20 May 2021 13:52:28 -0400 (EDT)

branch: master
commit cacfd0321a52b6bcbf5a910a5481e243aae0bc3a
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Juri Linkov <juri@linkov.net>

    (minibuffer-completion-help): Do not check `completions-group` centrally
    
    The guard variable `completions-group` should be checked in each
    completion table individually.  The guard variable
    `completions-detailed` variable is used in the same way.
    
    * minibuffer.el (minibuffer-completion-help): Remove check of
      `completions-group`.
---
 lisp/minibuffer.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 8790ce4..35bb12f 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -2182,8 +2182,7 @@ variables.")
                           (plist-get completion-extra-properties
                                      :affixation-function)))
              (sort-fun (completion-metadata-get all-md 'display-sort-function))
-             (group-fun (and completions-group
-                             (completion-metadata-get all-md 'group-function)))
+             (group-fun (completion-metadata-get all-md 'group-function))
              (mainbuf (current-buffer))
              ;; If the *Completions* buffer is shown in a new
              ;; window, mark it as softly-dedicated, so bury-buffer in



reply via email to

[Prev in Thread] Current Thread [Next in Thread]