Function: split-root-window-below
split-root-window-below is an interactive and byte-compiled function
defined in window.el.gz.
Signature
(split-root-window-below &optional SIZE)
Documentation
Split root window of current frame in two.
The current window configuration is retained in the top window,
the lower window takes up the whole width of the frame. SIZE is
handled as in split-window-below, and interactively is the
prefix numeric argument.
Probably introduced at or before Emacs version 29.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun split-root-window-below (&optional size)
"Split root window of current frame in two.
The current window configuration is retained in the top window,
the lower window takes up the whole width of the frame. SIZE is
handled as in `split-window-below', and interactively is the
prefix numeric argument."
(interactive `(,(when current-prefix-arg
(prefix-numeric-value current-prefix-arg))))
(split-window-below size (frame-root-window)))