aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Drozd <nicholasdrozd@gmail.com>2017-12-25 09:46:28 -0800
committerWilfred Hughes <me@wilfred.me.uk>2018-01-01 11:52:43 +0000
commitc13a6b4b5b97bc342ae6c90c1d530d92bea66e05 (patch)
treeddd1065716ad7c12f62cc8fe3d65bf7234ac4b3d
parentfdeb8da145e5e353800db652aae4cc74e300f5f0 (diff)
Use sym-type in advice string
-rw-r--r--helpful.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/helpful.el b/helpful.el
index 6d20b11..f0cb421 100644
--- a/helpful.el
+++ b/helpful.el
@@ -1120,8 +1120,7 @@ state of the current symbol."
(helpful--insert-section-break)
(insert
(helpful--heading "Advice")
- (format
- "This %s is advised." (if (macrop helpful--sym) "macro" "function"))))
+ (format "This %s is advised." (downcase sym-type))))
(let ((can-edebug
(helpful--can-edebug-p helpful--sym helpful--callable-p))