helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit e6d32d519ef98389eed822052ebc1e24e5d66294
parent b42bd5adcbf910bffec44022d1c99df7322d98f7
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Thu, 29 Mar 2018 08:02:11 +0100

Better wording of references when dealing with primitives

Diffstat:
MCHANGELOG.md | 2++
Mhelpful.el | 4++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git 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 @@ -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