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.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index b8fc633..22f857c 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -237,7 +237,12 @@ DATA can represent a question or an answer."
.body_markdown)
"\n"
(propertize sx-question-mode-separator
- 'face 'sx-question-mode-header)))))
+ 'face 'sx-question-mode-header))))
+ ;; This is where the "add a comment" button is printed.
+ (insert " ")
+ (insert-text-button "Add a Comment"
+ :type 'sx-button-comment)
+ (insert "\n"))
;; Comments have their own `sx--data-here' property (so they can
;; be upvoted too).
(when .comments