]> git.eshelyaron.com Git - emacs.git/commitdiff
(minibuffer-completion-help): Do not check `completions-group` centrally
authorDaniel Mendler <mail@daniel-mendler.de>
Sun, 2 May 2021 13:50:08 +0000 (15:50 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 20 May 2021 17:50:31 +0000 (20:50 +0300)
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

index 8790ce403dbc19418d272bea8221ed8d1da39a9a..35bb12ffcd76927d7e408381c9774a289580976f 100644 (file)
@@ -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