commit bf0e3166a0c8c7568500a70bc089d4feeeace3ab
parent 03597fa52506187d895c8024bbce1ffeea3f8e55
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Sat, 16 Dec 2017 15:33:14 +0000
Tweak wording following feedback in #67
'References' is ambiguous: we're talking about references excluding
the definition itself. Clarify the wording when we don't find any
other references.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/helpful.el b/helpful.el
@@ -834,7 +834,8 @@ state of the current symbol."
(helpful--navigate-button source-path 0)
(helpful--format-position-heads references source-path)))
(source-path
- (format "No references found in %s."
+ (format "%s is unused in %s."
+ helpful--sym
(helpful--navigate-button source-path 0)))
((and primitive-p (null find-function-C-source-directory))
"C code is not yet loaded.")
@@ -842,7 +843,7 @@ state of the current symbol."
"Could not find source file."))
"\n\n"
(make-text-button
- "All references" nil
+ "Find all references" nil
:type 'helpful-all-references-button
'symbol helpful--sym
'callable-p helpful--callable-p))