commit 15b3a9a8b0238f349be29d1b0772ff44ca51180e
parent 8ca54f61fae78837b27036df1ecd19b1c5fc3834
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Tue, 5 Sep 2017 21:52:05 +0100
Don't talk about C code unless function is a primitive
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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."))