aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2017-09-05 21:52:05 +0100
committerWilfred Hughes <me@wilfred.me.uk>2017-09-05 21:52:05 +0100
commit15b3a9a8b0238f349be29d1b0772ff44ca51180e (patch)
tree39d6052000aa5c14d9d855c0c92386fb2671457a
parent8ca54f61fae78837b27036df1ecd19b1c5fc3834 (diff)
Don't talk about C code unless function is a primitive
-rw-r--r--helpful.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpful.el b/helpful.el
index f08b1f0..3ca6fa7 100644
--- a/helpful.el
+++ b/helpful.el
@@ -560,7 +560,7 @@ state of the current symbol."
(source-path
(format "No references found in %s."
(helpful--navigate-button source-path 0)))
- ((null find-function-C-source-directory)
+ ((and primitive-p (null find-function-C-source-directory))
"C code is not yet loaded.")
(t
"Could not find source file."))