aboutsummaryrefslogtreecommitdiff
path: root/sx-question-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r--sx-question-mode.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el
index d170d41..b25d00c 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -26,7 +26,6 @@
(require 'markdown-mode)
(require 'sx)
-(require 'sx-filter)
(require 'sx-question)
(defgroup sx-question-mode nil
@@ -168,11 +167,18 @@ editor's name."
:type 'string
:group 'sx-question-mode)
-(defcustom sx-question-mode-comments-title " Comments"
+(defcustom sx-question-mode-comments-title " Comments"
"Title used at the start of \"Comments\" sections."
:type 'string
:group 'sx-question-mode)
+(defcustom sx-question-mode-comments-format "%s: %s\n"
+ "Format used to display comments.
+First \"%s\" is replaced with user name.
+Second \"%s\" is replaced with the comment."
+ :type 'string
+ :group 'sx-question-mode)
+
;;; Printing a question's content
;;;; Functions
@@ -284,13 +290,6 @@ DATA can represent a question or an answer."
(propertize .display_name
'face 'sx-question-mode-author)))
-(defcustom sx-question-mode-comments-format " %s: %s\n"
- "Format used to display comments.
-First \"%s\" is replaced with user name.
-Second \"%s\" is replaced with the comment."
- :type 'string
- :group 'sx-question-mode)
-
(defun sx-question-mode--print-comment (data)
"Print the comment described by alist DATA."
(sx-assoc-let data