aboutsummaryrefslogtreecommitdiff
path: root/helpful.el
diff options
context:
space:
mode:
Diffstat (limited to 'helpful.el')
-rw-r--r--helpful.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/helpful.el b/helpful.el
index b54914f..3ec6ed9 100644
--- a/helpful.el
+++ b/helpful.el
@@ -2300,7 +2300,11 @@ state of the current symbol."
"\n\n"
(helpful--make-references-button helpful--sym helpful--callable-p))
- (when (and helpful--callable-p source (not primitive-p))
+ (when (and
+ helpful--callable-p
+ (symbolp helpful--sym)
+ source
+ (not primitive-p))
(insert
" "
(helpful--make-callees-button helpful--sym source)))