helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit eecdeafd1b713f8e5b548b7f98224988ccb81459
parent c716d07af3878a6ae486c480c7b5724a1cd392fa
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Mon, 18 Dec 2017 20:09:59 +0000

Fix debugging section when we can only trace

Diffstat:
Mhelpful.el | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/helpful.el b/helpful.el @@ -887,7 +887,7 @@ state of the current symbol." (can-forget (and (not (special-form-p helpful--sym)) (not primitive-p)))) - (when (or can-edebug can-disassemble can-forget) + (when (or can-edebug can-trace can-disassemble can-forget) (insert (helpful--heading "\n\nDebugging\n"))) (when can-edebug (insert @@ -909,7 +909,10 @@ state of the current symbol." nil :type 'helpful-trace-button 'symbol helpful--sym))) - (when (or can-edebug can-trace) + + (when (and + (or can-edebug can-trace) + (or can-disassemble can-forget)) (insert "\n")) (when can-disassemble