Variable: mode-line-right-align-edge

mode-line-right-align-edge is a customizable variable defined in bindings.el.gz.

Value

window

Documentation

Where function mode-line-format-right-align should align to.

Internally, that function uses :align-to in a display property, so aligns to the left edge of the given area. See info node
(elisp)Pixel Specification.

Must be set to a symbol. Acceptable values are:
- window: align to extreme right of window, regardless of margins
  or fringes
- right-fringe: align to right-fringe
- right-margin: align to right-margin

This variable was added, or its default value changed, in Emacs 30.1.

View in manual

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/bindings.el.gz
(defcustom mode-line-right-align-edge 'window
  "Where function `mode-line-format-right-align' should align to.
Internally, that function uses `:align-to' in a display property,
so aligns to the left edge of the given area.  See info node
`(elisp)Pixel Specification'.

Must be set to a symbol.  Acceptable values are:
- `window': align to extreme right of window, regardless of margins
  or fringes
- `right-fringe': align to right-fringe
- `right-margin': align to right-margin"
  :type '(choice (const right-margin)
                 (const right-fringe)
                 (const window))
  :group 'mode-line
  :version "30.1")