diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2017-12-18 22:52:00 +0000 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2017-12-18 22:52:00 +0000 |
| commit | 9f00889a742c55097b77e11ce27f86d27d44f9af (patch) | |
| tree | c276301c486fe2218b34fcb9c2b1b49bea629a71 | |
| parent | eb380bfc90108005439671629c7d9297b7d13fc1 (diff) | |
Show symbol properties last, as they're the least useful
| -rw-r--r-- | helpful.el | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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))) |
