diff options
author | Hugo Heagren <hugo@heagren.com> | 2022-09-05 20:54:51 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-09-05 20:57:21 +0200 |
commit | 6a2ee981c3a4a2f7e0864b0394ec47f6522847ee (patch) | |
tree | 7ccd3993be3d08966598c2a69d989d68f666b7c7 /etc | |
parent | 21c725dfe0c8fc3d4df32edb4995346df1ea9b97 (diff) | |
download | emacs-6a2ee981c3a4a2f7e0864b0394ec47f6522847ee.tar.gz |
Add new functions for splitting the root window
* lisp/window.el (split-window-right): Add optional argument to
control which window is split (previously, would only split selected
window). Update docstring.
* doc/lispref/windows.texi (Splitting Windows): Update docs for
`split-window-right'.
* lisp/window.el (split-window-below): Add optional argument to
control which window is split (previously, would only split selected
window). Update docstring.
* doc/lispref/windows.texi (Splitting Windows): Update docs for
`split-window-below'.
* lisp/window.el (ctl-x-map): Bind `split-root-window-right' to 9 in
ctl-x-map. This is consistent with binding other window-splitting
operations to numbers in this map.
* lisp/window.el (ctl-x-map): Bind `split-root-window-below' to 7 in
ctl-x-map. This is consistent with binding other window-splitting
operations to numbers in this map.
* lisp/window.el (split-root-window-right): New function to split
whole frame.
* doc/lispref/windows.texi (Splitting Windows): Add documentation for
`split-root-window-right'.
* lisp/window.el (split-root-window-below): New function to split
whole frame.
* doc/lispref/windows.texi (Splitting Windows): Add documentation for
`split-root-window-below' (bug#56791).
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -944,6 +944,11 @@ non-nil in 'special-mode' and its derivatives. ** Windows +++ +*** New commands 'split-root-window-below' and 'split-root-window-right'. +These commands split the root window in to, and are are bound to 'C-x +7' and 'C-x 9' respectively. + ++++ *** New user option 'display-buffer-avoid-small-windows'. If non-nil, this should be a window height, a number. Windows smaller than this will be avoided by 'display-buffer', if possible. |