summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames Thomas <jimjoe@gmx.net>2025-06-16 01:20:31 +0530
committerEli Zaretskii <eliz@gnu.org>2025-08-02 17:25:14 +0300
commitcd31c3cb423baaaa9f7f3fa9eab274c09f2db1e9 (patch)
tree57dadad87d5cafe5acb123a6f9ff180af49417c7 /doc
parente52ed1b5d1531e7dc15f3f8ddf7042b0a7e71f50 (diff)
Add 'other-window-backward' for a default binding (bug#78803)
This moves in the opposite direction to 'other-window' by default, and is consistent with its repeat map. * lisp/window.el (other-window-backward): New function bound to 'C-x O'. (ctl-x-map): Update definition. * doc/emacs/windows.texi (Other Window): Update docs. * etc/NEWS: Annouce the new command.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/windows.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi
index 9473f189c25..4f04dc542eb 100644
--- a/doc/emacs/windows.texi
+++ b/doc/emacs/windows.texi
@@ -158,6 +158,8 @@ this option is @code{nil}.
@table @kbd
@item C-x o
Select another window (@code{other-window}).
+@item C-x O
+Select another window, backwards (@code{other-window-backward}).
@item C-M-v
Scroll the next window upward (@code{scroll-other-window}).
@item C-M-S-v
@@ -183,7 +185,8 @@ cycle in the opposite order. When the minibuffer is active, the
minibuffer window is the last window in the cycle; you can switch from
the minibuffer window to one of the other windows, and later switch
back and finish supplying the minibuffer argument that is requested.
-@xref{Minibuffer Edit}.
+@xref{Minibuffer Edit}. @kbd{C-x O} is similar, but defaults to the
+opposite order.
@findex next-window-any-frame
The @code{other-window} command will normally only switch to the next