aboutsummaryrefslogtreecommitdiff
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
parentb42bd5adcbf910bffec44022d1c99df7322d98f7 (diff)
Better wording of references when dealing with primitives
-rw-r--r--CHANGELOG.md2
-rw-r--r--helpful.el4
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b38178..75957c3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,8 @@ correctly.
Fixed an issue when looking at variable docs where we would visit the
definition buffer without the user requesting it.
+Wording polish for finding references of primitives.
+
# v0.8
Added setting `helpful-switch-buffer-function` to allow users to
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