aboutsummaryrefslogtreecommitdiff
path: root/sx-question-print.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-12-20 17:14:19 -0500
committerSean Allred <code@seanallred.com>2014-12-20 17:14:19 -0500
commit1270de61d0ddabb259584e12aff8f6c630018438 (patch)
treeda1eafc64cbc2db90e127084dfdda7a3acc4f631 /sx-question-print.el
parente0f4f8e85e818f718dd8b04deed1b5d4c50541df (diff)
parenta56f77ba8d990e0bf0333b5b93b9cdd1bf55b33f (diff)
Merge pull request #170 from vermiculus/issue-#157--zlib
Use `zlib-decompress-region` when available (24.4+) and handle UTF-8 encoding correctly.
Diffstat (limited to 'sx-question-print.el')
-rw-r--r--sx-question-print.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index 98d3308..07378e8 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -182,9 +182,6 @@ QUESTION must be a data structure returned by `json-read'."
(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)
;; Go up
(goto-char (point-min))
(sx-question-mode-next-section))