aboutsummaryrefslogtreecommitdiff
path: root/helpful.el
diff options
context:
space:
mode:
Diffstat (limited to 'helpful.el')
-rw-r--r--helpful.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpful.el b/helpful.el
index be533e0..6d76942 100644
--- a/helpful.el
+++ b/helpful.el
@@ -657,10 +657,10 @@ overrides that to include previously opened buffers."
(insert (format "Functions called by %s:\n\n" sym))
(helpful--display-callee-group compounds)
- (insert "\n")
-
- (insert (format "Primitives called by %s:\n\n" sym))
- (helpful--display-callee-group primitives)
+ (when primitives
+ (insert "\n")
+ (insert (format "Primitives called by %s:\n\n" sym))
+ (helpful--display-callee-group primitives))
(goto-char (point-min))