1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Rename some of the new window layout commands

* lisp/window-x.el (rotate-window-layout-counterclockwise):
Rename to window-layout-rotate-anticlockwise.
(rotate-window-layout-clockwise):
Rename to window-layout-rotate-clockwise.
(flip-window-layout-horizontally):
Rename to window-layout-flip-leftright.
(flip-window-layout-vertically):
Rename to window-layout-flip-topdown.
(transpose-window-layout): Rename to window-layout-transpose.

* doc/lispref/windows.texi (Changing Window Layouts):
* etc/NEWS:
* lisp/ldefs-boot.el (rotate-window-layout-counterclockwise)
(rotate-window-layout-clockwise, flip-window-layout-horizontally)
(flip-window-layout-vertically, transpose-window-layout):
Update for the renames.
This commit is contained in:
Sean Whitton 2025-04-09 13:34:55 +08:00
parent 253364e2c7
commit 09887a2d41
4 changed files with 19 additions and 19 deletions

View file

@ -2256,7 +2256,7 @@ unless stated otherwise.
counterclockwise.
@cindex rotate window layout
@deffn Command rotate-window-layout-clockwise &optional window
@deffn Command window-layout-rotate-clockwise &optional window
This command rotates the window layout clockwise by 90 degrees. Imagine
a layout with three live windows @var{A}, @var{B} and @var{C} as
depicted on the left below. Then this command will produce the layout
@ -2276,8 +2276,8 @@ on the right.
@end smallexample
@end deffn
@deffn Command rotate-window-layout-counterclockwise &optional window
This is like @code{rotate-window-layout-clockwise} but rotates the
@deffn Command window-layout-rotate-anticlockwise &optional window
This is like @code{window-layout-rotate-clockwise} but rotates the
layout in the opposite direction as demonstrated in the example below.
@smallexample
@ -2298,7 +2298,7 @@ The next two commands @sc{flip} the window layout---rotate it around an
imaginary horizontal or vertical axis.
@cindex flip window layout
@deffn Command flip-window-layout-vertically &optional window
@deffn Command window-layout-flip-topdown &optional window
This command flips windows such that windows on the bottom become
windows on the top and vice-versa as in the example below.
@ -2316,7 +2316,7 @@ windows on the top and vice-versa as in the example below.
@end smallexample
@end deffn
@deffn Command flip-window-layout-horizontally &optional window
@deffn Command window-layout-flip-leftright &optional window
This command rearranges window in a way that the windows on the right
become the window on the left, and vice-versa.
@ -2338,7 +2338,7 @@ The next command can be used for @sc{transposing} windows---changing
horizontal splits to vertical ones and vice-versa.
@cindex transposing windows
@deffn Command transpose-window-layout &optional window
@deffn Command window-layout-transpose &optional window
This command reorganizes windows such that every horizontal split
becomes a vertical split and vice versa.