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.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index 22226b3..aefddf0 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -244,7 +244,7 @@ QUESTION must be a data structure returned by `json-read'."
(mapc #'sx-question-mode--print-section
(cl-remove-if
#'sx--deleted-p
- (cl-sort .answers sx-question-mode-answer-sort-function))))
+ (cl-sort (copy-sequence .answers) sx-question-mode-answer-sort-function))))
(insert "\n\n ")
(insert-text-button "Write an Answer" :type 'sx-button-answer)
(run-hooks 'sx-question-mode-after-print-hook)