summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-10-19 14:37:09 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2022-10-19 14:37:09 +0200
commite8b6a8a5f807b1a597202b0e7b43ce35794c4206 (patch)
treea81aab32ced72b2d33415742a0181e166c4cca1a
parentcaa5500e0bc766050794e922c88f23c352dcffbf (diff)
Improve cape--symbol-annotation
-rw-r--r--cape.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/cape.el b/cape.el
index b3d96dd..34c7f49 100644
--- a/cape.el
+++ b/cape.el
@@ -308,8 +308,11 @@ STATUS is the exit status."
"Return kind of SYM."
(setq sym (intern-soft sym))
(cond
- ((or (macrop sym) (special-form-p sym)) " Macro")
+ ((special-form-p sym) " Special")
+ ((macrop sym) " Macro")
+ ((commandp sym) " Command")
((fboundp sym) " Function")
+ ((custom-variable-p sym) " Custom")
((boundp sym) " Variable")
((featurep sym) " Feature")
((facep sym) " Face")