aboutsummaryrefslogtreecommitdiff
path: root/helpful.el
diff options
context:
space:
mode:
Diffstat (limited to 'helpful.el')
-rw-r--r--helpful.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/helpful.el b/helpful.el
index ae995cc..df768d2 100644
--- 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