From f96115675a098334a752b2f5f560a154fc417174 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Fri, 21 Nov 2014 15:54:49 +0000 Subject: Derive special-mode instead of markdown-mode After recent changes, markdown-mode no longer makes sense. --- sx-question-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sx-question-mode.el b/sx-question-mode.el index f8a0d1e..ea22b12 100644 --- a/sx-question-mode.el +++ b/sx-question-mode.el @@ -547,7 +547,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. -- cgit v1.2.3 From b03eb9529cc559aa9ea09d81b798d8d809a3ed9c Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Fri, 21 Nov 2014 15:55:52 +0000 Subject: Patch faulty separator --- sx-question-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/sx-question-mode.el b/sx-question-mode.el index ea22b12..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 -- cgit v1.2.3