Function: org-display-buffer-split
org-display-buffer-split is a byte-compiled function defined in
org-macs.el.
Signature
(org-display-buffer-split BUFFER ALIST)
Documentation
Display BUFFER in the current frame split in two parts.
The frame will display two buffers - current buffer and BUFFER. ALIST is an association list of action symbols and values. See Info node (elisp) Buffer Display Action Alists for details of such alists.
Use display-buffer-in-direction internally.
This is an action function for buffer display, see Info
node (elisp) Buffer Display Action Functions. It should be
called only by display-buffer or a function directly or
indirectly called by the latter.
Source Code
;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-macs.el
(defun org-display-buffer-split (buffer alist)
"Display BUFFER in the current frame split in two parts.
The frame will display two buffers - current buffer and BUFFER.
ALIST is an association list of action symbols and values. See
Info node `(elisp) Buffer Display Action Alists' for details of
such alists.
Use `display-buffer-in-direction' internally.
This is an action function for buffer display, see Info
node `(elisp) Buffer Display Action Functions'. It should be
called only by `display-buffer' or a function directly or
indirectly called by the latter."
(let ((window-configuration (current-window-configuration)))
(ignore-errors (delete-other-windows))
(or (display-buffer-in-direction buffer alist)
(display-buffer-pop-up-window buffer alist)
(prog1 nil
(set-window-configuration window-configuration)))))