emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/marginalia e833584 103/241: improve marginalia-classify


From: Stefan Monnier
Subject: [elpa] externals/marginalia e833584 103/241: improve marginalia-classify-symbol
Date: Fri, 28 May 2021 20:49:05 -0400 (EDT)

branch: externals/marginalia
commit e83358412594750d5e2621e38b70f77739d5abc5
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    improve marginalia-classify-symbol
    
    functions were recognized as symbol lists
    
    fix #30
---
 marginalia.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/marginalia.el b/marginalia.el
index 688fa60..3e35d4c 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -559,7 +559,7 @@ using `minibuffer-force-complete' on the candidate CAND."
   (when-let (mct minibuffer-completion-table)
     (when (or (eq mct 'help--symbol-completion-table)
               (obarrayp mct)
-              (and (consp mct) (symbolp (car mct)))) ; assume list of symbols
+              (and (not (functionp mct)) (consp mct) (symbolp (car mct)))) ; 
assume list of symbols
       'symbol)))
 
 (defun marginalia-classify-by-prompt ()



reply via email to

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