aboutsummaryrefslogtreecommitdiff
path: root/sx-question-print.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-12-03 17:55:52 -0500
committerSean Allred <code@seanallred.com>2014-12-03 17:55:52 -0500
commit67b60ea558f0386a1ea3dadcf3a9c4d22d398620 (patch)
tree8695418c51779333101b45aad180e6979a6e2ad0 /sx-question-print.el
parent48314a1227cca288731a48a7f07558654a953d9d (diff)
parent90d3a20ee3ac0a98e8d26cd9cf203e113acdbdce (diff)
Merge pull request #129 from vermiculus/answering
Implement asking, answering, and editing.
Diffstat (limited to 'sx-question-print.el')
-rw-r--r--sx-question-print.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index 4655f5e..eb79a7a 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -182,6 +182,8 @@ QUESTION must be a data structure returned by `json-read'."
(sx-question-mode--print-section question)
(sx-assoc-let question
(mapc #'sx-question-mode--print-section .answers))
+ (insert "\n\n ")
+ (insert-text-button "Write an Answer" :type 'sx-button-answer)
;; Display weird chars correctly
(set-buffer-multibyte nil)
(set-buffer-multibyte t)