diff options
| author | Nick Drozd <nicholasdrozd@gmail.com> | 2017-12-25 09:46:28 -0800 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2018-01-01 11:52:43 +0000 |
| commit | c13a6b4b5b97bc342ae6c90c1d530d92bea66e05 (patch) | |
| tree | ddd1065716ad7c12f62cc8fe3d65bf7234ac4b3d | |
| parent | fdeb8da145e5e353800db652aae4cc74e300f5f0 (diff) | |
Use sym-type in advice string
| -rw-r--r-- | helpful.el | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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)) |
