diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-20 15:29:30 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-20 15:29:30 -0200 |
commit | 139c4d81545cd8428de7864294c754fbe8f3267e (patch) | |
tree | 4a55eed5c70a4940e4efb7f4e2adf574d7449b0f /sx-question-mode.el | |
parent | 30eeaaad19858edb4543d60772b93adb7e7736be (diff) |
Displaying questions uses pop-to-buffer instead of switch by default
Fixes #153
See variable `sx-question-mode-display-buffer-function'
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r-- | sx-question-mode.el | 6 |
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) |