commit 50ff4f3aec573602eb7195e393b5acab23185a53
parent c5c62c59546b33c7a767f0954fb1718f4108e260
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Sun, 22 Jul 2018 22:36:48 +0100
Another TODO
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/helpful.el b/helpful.el
@@ -1426,6 +1426,8 @@ POSITION-HEADS takes the form ((123 (defun foo)) (456 (defun bar)))."
"Make set button for SYM in BUFFER."
(helpful--button
(if helpful--view-literal
+ ;; TODO: only offer for strings that have newlines, tabs or
+ ;; properties.
"Pretty view"
"View as literal")
'helpful-view-literal-button))