helpful

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

commit 0030e8a708dd06e91f005bc05538d2a648263c65
parent fd484666480d2601f1fe2861fd588f16a788d5ab
Author: Wilfred Hughes <me@wilfred.me.uk>
Date:   Sun,  4 Jun 2017 11:48:30 +0100

Show references before symbol props

References are usually more interesting

Diffstat:
Mhelpful.el | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/helpful.el b/helpful.el @@ -380,9 +380,6 @@ state of the current symbol." (helpful--heading "\n\nKey Bindings\n") (helpful--format-keys helpful--sym))) (insert - (helpful--heading "\n\nSymbol Properties\n") - (or (helpful--format-properties helpful--sym) - "No properties.") (helpful--heading "\n\nReferences\n") (cond ((and source-path references) @@ -394,6 +391,11 @@ state of the current symbol." (helpful--navigate-button source-path 0))) (t "Could not find source file.")) + + (helpful--heading "\n\nSymbol Properties\n") + (or (helpful--format-properties helpful--sym) + "No properties.") + (helpful--heading "\n\nSource Code\n") (if source-path (concat