aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-21 20:20:25 -0600
committerSean Allred <code@seanallred.com>2014-11-21 20:20:25 -0600
commit88d040226513025b14ed76dd0819611bfb0a8fd4 (patch)
treeed956b441a14b77ff32c98a6295be1d9510c7e7b
parent10f60197d60f02245d5bd30cc6abb62199e6244d (diff)
parentb03eb9529cc559aa9ea09d81b798d8d809a3ed9c (diff)
Merge pull request #87 from vermiculus/dont-derive-markdown
Don't derive from `markdown-mode`
-rw-r--r--sx-question-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el
index f8a0d1e..f1705a5 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -270,6 +270,7 @@ DATA can represent a question or an answer."
(insert "\n"
(sx-question-mode--fill-and-fontify
.body_markdown)
+ "\n"
(propertize sx-question-mode-separator
'face 'sx-question-mode-header))))
;; Comments
@@ -547,7 +548,7 @@ Optional argument _ is for `push-button'."
;;; Major-mode
-(define-derived-mode sx-question-mode markdown-mode "Question"
+(define-derived-mode sx-question-mode special-mode "Question"
"Major mode to display and navigate a question and its answers.
Letters do not insert themselves; instead, they are commands.