emacs-diffs
[Top][All Lists]
Advanced

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

master 1afe59f: Double check completions-group customization variable in


From: João Távora
Subject: master 1afe59f: Double check completions-group customization variable in Icomplete
Date: Sun, 22 Aug 2021 11:36:41 -0400 (EDT)

branch: master
commit 1afe59f7f888fd80e9bbad502d96e5e2ee9feb4c
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Double check completions-group customization variable in Icomplete
    
    bug#48545
    
    * lisp/icomplete.el (icomplete--augment): Double check completions-group.
---
 lisp/icomplete.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 03616f9..0fa5f36 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))



reply via email to

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