diff options
author | Sean Allred <code@seanallred.com> | 2014-11-30 00:07:38 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-30 00:07:38 -0500 |
commit | 570a41fbc7e7ff6f842d6bb809bc36c457784ebf (patch) | |
tree | 2703f2ddd7eeb325c092cd5a8c2f2f61dabededd | |
parent | 00a187f5bb7dc08117965eae05df51d0eedac90e (diff) | |
parent | deebbf0f032d4649f78206d5d8ef570afb065579 (diff) |
Merge pull request #125 from vermiculus/issue-57-unibyte-vs-multibyte
Fix #57. Set the buffer as unibyte then multibyte again.
-rw-r--r-- | sx-question-print.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sx-question-print.el b/sx-question-print.el index 0959f36..9245331 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -195,6 +195,10 @@ 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)) + ;; Display weird chars correctly + (set-buffer-multibyte nil) + (set-buffer-multibyte t) + ;; Go up (goto-char (point-min)) (sx-question-mode-next-section)) |