commit 1b4497ffe1e0f3d17b6370c6b1f29a77746e8497
parent 598d4acde5f9812cb3a58a4a996889ae611bd7b7
Author: Nick Drozd <nicholasdrozd@gmail.com>
Date: Mon, 23 Jul 2018 09:08:40 -0500
Syntax-highlight variable value
This makes it a little easier to read, especially in weird cases like
Value
((((3)
4)
5
(6))
7 8 9 nil nil nil)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helpful.el b/helpful.el
@@ -1804,7 +1804,7 @@ state of the current symbol."
(t "Value")))
(cond
(helpful--view-literal
- (helpful--pretty-print val))
+ (helpful--syntax-highlight (helpful--pretty-print val)))
;; Allow strings to be viewed with properties rendered in
;; Emacs, rather than as a literal.
((stringp val)