aboutsummaryrefslogtreecommitdiff
path: root/sx-question-print.el
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-16 20:44:56 -0200
commita39fa2255a253194b2a080a7aa545a0fb52db7ec (patch)
tree9198e5b430201d902f98d75e58d7b88e1e0997c7 /sx-question-print.el
parent6d8a8d5dc07fb8a58344775632716dbe781479a3 (diff)
delay-mode-hooks on markdown-mode. Fix #159
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 dc853ba..2bfa60d 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.