aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2018-07-22 22:36:48 +0100
committerWilfred Hughes <me@wilfred.me.uk>2018-07-22 22:36:48 +0100
commit50ff4f3aec573602eb7195e393b5acab23185a53 (patch)
tree59cf012d0c958b8e19936a2a6be0be62d1329ec9
parentc5c62c59546b33c7a767f0954fb1718f4108e260 (diff)
Another TODO
-rw-r--r--helpful.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpful.el b/helpful.el
index ce8a69b..daa0cbb 100644
--- 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))