From b7601bfb70ee06e7ed97c5f80bfc8c8e0dd80d6c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 17 Dec 2025 15:14:25 +0200 Subject: [PATCH] Fix 'mode-line-format-right-align' in Olivetti mode * lisp/bindings.el (mode--line-format-right-align): Account for the left fringe. (Bug#80019) --- lisp/bindings.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/bindings.el b/lisp/bindings.el index 8b021a05ce2..e34dea6ee1f 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -383,6 +383,7 @@ the symbol `mode-line-format-right-align' is processed by (window-right-divider-width) (* (or (car (window-margins)) 0) (frame-char-width)) + (car (window-fringes)) ;; Manually account for value of ;; `mode-line-right-align-edge' even ;; when display is non-graphical