diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2017-08-26 21:46:36 +0100 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2017-08-26 21:46:57 +0100 |
| commit | d257e0826303b79043bb6abff5b190fb0cad920e (patch) | |
| tree | e02b1033525b5e834beb2731ae77314dd7abc8ba | |
| parent | 6b0cd0530480eabdc7b588869e728ca497e4f92a (diff) | |
Don't append whitespace when we don't have a previous section
| -rw-r--r-- | helpful.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
