]> git.eshelyaron.com Git - emacs.git/commit
* lisp/bindings.el (mode--line-format-right-align): Add 'mode-line' face.
authorJuri Linkov <juri@linkov.net>
Mon, 17 Jul 2023 17:56:29 +0000 (20:56 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 17 Jul 2023 17:56:29 +0000 (20:56 +0300)
commitbec707da4dbcc64485ee5815d91f40d0babad3a9
treee339cc047b83ce207156a245b3d2f42ba4ce8440
parent157e735ce89ede9cc939f4ed0f72c5af7ae60735
* lisp/bindings.el (mode--line-format-right-align): Add 'mode-line' face.

Like in `tab-bar-format-align-right', use `add-face-text-property' to
add 'mode-line' face on the `rest-str' string for `string-pixel-width'
to calculate the correct pixel width (bug#62606).
lisp/bindings.el