Function: bs--show-with-configuration
bs--show-with-configuration is a byte-compiled function defined in
bs.el.gz.
Signature
(bs--show-with-configuration NAME &optional ARG)
Documentation
Display buffer list of configuration with name NAME.
Set configuration NAME and determine window for Buffer Selection Menu. Unless current buffer is buffer *buffer-selection* we have to save the buffer we started Buffer Selection Menu and the current window configuration to restore buffer and window configuration after a selection. If there is already a window displaying *buffer-selection* select this window for Buffer Selection Menu. Otherwise open a new window. The optional argument ARG is the prefix argument when calling a function for buffer selection.
Source Code
;; Defined in /usr/src/emacs/lisp/bs.el.gz
(defun bs--show-with-configuration (name &optional arg)
"Display buffer list of configuration with name NAME.
Set configuration NAME and determine window for Buffer Selection Menu.
Unless current buffer is buffer *buffer-selection* we have to save
the buffer we started Buffer Selection Menu and the current window
configuration to restore buffer and window configuration after a
selection. If there is already a window displaying *buffer-selection*
select this window for Buffer Selection Menu. Otherwise open a new
window.
The optional argument ARG is the prefix argument when calling a function
for buffer selection."
(bs-set-configuration name)
(let ((bs--show-all (or bs--show-all arg)))
(unless (string= "*buffer-selection*" (buffer-name))
;; Only when not in buffer *buffer-selection*
;; we have to set the buffer we started the command
(setq bs--buffer-coming-from (current-buffer)))
(bs-show-in-buffer (bs-buffer-list))
(bs-message-without-log "%s" (bs--current-config-message))))