Function: window-layout-rotate-clockwise

window-layout-rotate-clockwise is an autoloaded, interactive and byte-compiled function defined in window-x.el.gz.

Signature

(window-layout-rotate-clockwise &optional WINDOW)

Documentation

Rotate window layout under WINDOW clockwise by 90 degrees.

If WINDOW is nil, it defaults to the root window of the selected frame.

Interactively, a prefix argument says to rotate the parent window of the selected window.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/window-x.el.gz
;;;###autoload
(defun window-layout-rotate-clockwise (&optional window)
  "Rotate window layout under WINDOW clockwise by 90 degrees.

If WINDOW is nil, it defaults to the root window of the selected frame.

Interactively, a prefix argument says to rotate the parent window of the
selected window."
  (interactive (list (window--rotate-interactive-arg)))
  (window--transpose window '(left . below) nil))