helpful

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

commit d257e0826303b79043bb6abff5b190fb0cad920e
parent 6b0cd0530480eabdc7b588869e728ca497e4f92a
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Sat, 26 Aug 2017 21:46:36 +0100

Don't append whitespace when we don't have a previous section

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

diff --git a/helpful.el b/helpful.el @@ -484,11 +484,12 @@ state of the current symbol." (if (macrop helpful--sym) "Macro Signature\n" "Function Signature\n")) - (helpful--signature helpful--sym) - "\n\n")) + (helpful--signature helpful--sym))) (-when-let (docstring (helpful--docstring helpful--sym helpful--callable-p)) + (when helpful--callable-p + (insert "\n\n")) (insert (helpful--heading "Documentation\n") ;; TODO: a link to find this symbol in the manual, much like