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.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el
index 2d06e5b..d4b7f8d 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -191,7 +191,8 @@ property."
;; `sx-assoc-let' to improve performance (since the mode-line is
;; updated a lot).
(:propertize
- (:eval (let-alist sx-question-mode--data .site_par))
+ (:eval (sx--pretty-site-parameter
+ (let-alist sx-question-mode--data .site_par)))
face mode-line-buffer-id)
" " mode-name
" ["
@@ -216,10 +217,14 @@ property."
"Major mode to display and navigate a question and its answers.
Letters do not insert themselves; instead, they are commands.
+Don't activate this mode directly. Instead, to print a question
+on the current buffer use
+`sx-question-mode--erase-and-print-question'.
+
\\<sx-question-mode>
\\{sx-question-mode}"
(setq header-line-format sx-question-mode--header-line)
- (setq header-line-format sx-question-mode--mode-line)
+ (setq mode-line-format sx-question-mode--mode-line)
;; Determine how to close this window.
(unless (window-parameter nil 'quit-restore)
(set-window-parameter