commit d796702d88abf24fde14a3f4390b0380f943a262
parent 44e7d2702f55e9a5693aebfeadc6a8c5418b7c41
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Wed, 13 Dec 2017 23:39:29 +0000
Don't offer Forget for primitives
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/helpful.el b/helpful.el
@@ -799,7 +799,8 @@ state of the current symbol."
(can-disassemble
(and helpful--callable-p (not primitive-p)))
(can-forget
- (not (special-form-p helpful--sym))))
+ (and (not (special-form-p helpful--sym))
+ (not primitive-p))))
(when (or can-edebug can-disassemble can-forget)
(insert (helpful--heading "\n\nDebugging\n")))
(when can-edebug