diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2017-09-02 21:46:45 +0100 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2017-09-02 21:46:45 +0100 |
| commit | 5f3a3709cabbec8e704bc02e54fa02976ca3c20c (patch) | |
| tree | f8716084b1c77888826413ea60e6fa054f2b7bcf | |
| parent | 7587ccca48c94849afa24ed2637cc13e961de265 (diff) | |
Also show the value of variables
Closes #15
| -rw-r--r-- | helpful.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -537,6 +537,11 @@ state of the current symbol." ;; helpfns+ or counsel-info-lookup-symbol. (helpful--format-docstring docstring))) + (when (not helpful--callable-p) + (insert + (helpful--heading "\n\nValue\n") + (helpful--pretty-print (symbol-value helpful--sym)))) + ;; Show keybindings. ;; TODO: allow users to conveniently add and remove keybindings. (when (commandp helpful--sym) |
