aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2017-12-18 22:52:00 +0000
committerWilfred Hughes <me@wilfred.me.uk>2017-12-18 22:52:00 +0000
commit9f00889a742c55097b77e11ce27f86d27d44f9af (patch)
treec276301c486fe2218b34fcb9c2b1b49bea629a71
parenteb380bfc90108005439671629c7d9297b7d13fc1 (diff)
Show symbol properties last, as they're the least useful
-rw-r--r--helpful.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/helpful.el b/helpful.el
index bc47a11..c95805a 100644
--- a/helpful.el
+++ b/helpful.el
@@ -962,11 +962,6 @@ state of the current symbol."
'symbol helpful--sym
'callable-p helpful--callable-p))
- (-when-let (formatted-props (helpful--format-properties helpful--sym))
- (insert
- (helpful--heading "\n\nSymbol Properties\n")
- formatted-props))
-
(when (helpful--advised-p helpful--sym)
(insert
(helpful--heading "\n\nAdvice\n")
@@ -1075,6 +1070,12 @@ state of the current symbol."
(t
(helpful--syntax-highlight
(helpful--pretty-print source))))))
+
+ (-when-let (formatted-props (helpful--format-properties helpful--sym))
+ (insert
+ (helpful--heading "\nSymbol Properties\n")
+ formatted-props))
+
(goto-char (point-min))
(forward-line (1- start-line))
(forward-char start-column)))