aboutsummaryrefslogtreecommitdiff
path: root/sx-question-mode.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-12-26 17:55:48 -0500
committerSean Allred <code@seanallred.com>2014-12-26 17:55:48 -0500
commitb006537bb48201cf7996958ef0cc3b918268ff33 (patch)
tree1b3663727ecbfb1559f3140593ff4b189d4e4551 /sx-question-mode.el
parent7d2cccd82cf6c658e330767d0e20e48e42ff1ac6 (diff)
parenta919c72f2b58d889bf3fbdde100f9912a90c64ab (diff)
Merge branch 'master' into issue-151--dot-variables
Conflicts: sx.el
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r--sx-question-mode.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el
index 8fe6dfb..8d06078 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -30,11 +30,13 @@
;;; Displaying a question
-(defcustom sx-question-mode-display-buffer-function #'switch-to-buffer
+(defcustom sx-question-mode-display-buffer-function #'pop-to-buffer
"Function used to display the question buffer.
Called, for instance, when hitting \\<sx-question-list-mode-map>`\\[sx-question-list-display-question]' on an entry in the
question list.
-This is not used when navigating the question list with `\\[sx-question-list-view-next]."
+This is not used when navigating the question list with `\\[sx-question-list-view-next].
+
+Common values for this variable are `pop-to-buffer' and `switch-to-buffer'."
:type 'function
:group 'sx-question-mode)