aboutsummaryrefslogtreecommitdiff
path: root/helpful.el
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2018-03-29 08:02:11 +0100
committerWilfred Hughes <me@wilfred.me.uk>2018-03-29 08:02:11 +0100
commite6d32d519ef98389eed822052ebc1e24e5d66294 (patch)
tree0cb192eb1414de59d05fbb0d73a122a5677dde5c /helpful.el
parentb42bd5adcbf910bffec44022d1c99df7322d98f7 (diff)
Better wording of references when dealing with primitives
Diffstat (limited to 'helpful.el')
-rw-r--r--helpful.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/helpful.el b/helpful.el
index 1810404..0f3edca 100644
--- a/helpful.el
+++ b/helpful.el
@@ -1463,6 +1463,10 @@ state of the current symbol."
(format "References in %s:\n%s"
src-button
(helpful--format-position-heads references source-path)))
+ ((and source-path primitive-p)
+ (format
+ "Finding references in a .%s file is not supported."
+ (f-ext source-path)))
(source-path
(format "%s is unused in %s."
helpful--sym