helpful

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

commit 5f126f1df6c96f744e43bc3b66e6d1cf766c16f3
parent 744d6f242fcb2b4398d0d01b6601c5823d73eb15
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Sat, 22 Jul 2017 12:19:10 +0100

don't try to insert nil for source code

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

diff --git a/helpful.el b/helpful.el @@ -491,8 +491,9 @@ state of the current symbol." 'face 'font-lock-comment-face)) (t (helpful--syntax-highlight - (format ";; Source file is unknown\n")))) - (when source + (format ";; Source file is unknown\n"))))) + (when source + (insert (if (stringp source) (helpful--syntax-highlight source