1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

Double check completions-group customization variable in Icomplete

bug#48545

* lisp/icomplete.el (icomplete--augment): Double check completions-group.
This commit is contained in:
João Távora 2021-08-22 16:36:26 +01:00
parent ba852512f2
commit 1afe59f7f8

View File

@ -760,7 +760,8 @@ by `group-function''s second \"transformation\" protocol."
(plist-get completion-extra-properties :affixation-function)))
(ann-fun (or (completion-metadata-get md 'annotation-function)
(plist-get completion-extra-properties :annotation-function)))
(grp-fun (completion-metadata-get md 'group-function))
(grp-fun (and completions-group
(completion-metadata-get md 'group-function)))
(annotated
(cond (aff-fun
(funcall aff-fun prospects))