mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Fix 'mode-line-right-align-edge' with asymmetrical margins
* lisp/bindings.el (mode--line-format-right-align): Fix alignment when window-margins are different on each side of the window. Suggested by Charles Gonnaud <charles.gonnaud@gmail.com>. (Bug#70485)
This commit is contained in:
parent
c493f28cc9
commit
98649236f5
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ the symbol `mode-line-format-right-align' is processed by
|
|||
`(space :align-to (,(- (window-pixel-width)
|
||||
(window-scroll-bar-width)
|
||||
(window-right-divider-width)
|
||||
(* (or (cdr (window-margins)) 1)
|
||||
(* (or (car (window-margins)) 0)
|
||||
(frame-char-width))
|
||||
;; Manually account for value of
|
||||
;; `mode-line-right-align-edge' even
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue