aboutsummaryrefslogtreecommitdiff
path: root/sx-question-print.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-question-print.el')
-rw-r--r--sx-question-print.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index f49346b..45124c4 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -185,7 +185,7 @@ QUESTION must be a data structure returned by `json-read'."
DATA can represent a question or an answer."
;; This makes `data' accessible through `sx--data-here'.
(sx-assoc-let data
- (sx--wrap-in-text-property
+ (sx--wrap-in-overlay
(list 'sx--data-here data)
(insert sx-question-mode-header-title)
(insert-text-button
@@ -270,7 +270,7 @@ DATA can represent a question or an answer."
"Print the comment described by alist COMMENT-DATA.
The comment is indented, filled, and then printed according to
`sx-question-mode-comments-format'."
- (sx--wrap-in-text-property
+ (sx--wrap-in-overlay
(list 'sx--data-here comment-data)
(sx-assoc-let comment-data
(insert