From: João Távora Date: Sun, 22 Aug 2021 15:36:26 +0000 (+0100) Subject: Double check completions-group customization variable in Icomplete X-Git-Tag: emacs-28.0.90~1357 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1afe59f7f888fd80e9bbad502d96e5e2ee9feb4c;p=emacs.git Double check completions-group customization variable in Icomplete bug#48545 * lisp/icomplete.el (icomplete--augment): Double check completions-group. --- diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 03616f9b6aa..0fa5f367349 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -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))