aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-16 20:44:56 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-22 10:46:41 -0200
commitff7bf723a10352d0a69078e4d0645d078aa143df (patch)
tree0eba18abe46f319a197c5775cca96cf8bb2047be
parentfb52d842299e1826915bcae5c6fbb6e0e1f617ec (diff)
delay-mode-hooks on markdown-mode. Fix #159
-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 223049a..0e90c51 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -340,7 +340,7 @@ E.g.:
"Return TEXT filled according to `markdown-mode'."
(with-temp-buffer
(insert text)
- (markdown-mode)
+ (delay-mode-hooks (markdown-mode))
(font-lock-mode -1)
(when sx-question-mode-bullet-appearance
(font-lock-add-keywords ;; Bullet items.