aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helpful.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpful.el b/helpful.el
index afae6fa..fcc1eaa 100644
--- a/helpful.el
+++ b/helpful.el
@@ -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)