Revert back to using monospaced fonts in the mode line

* lisp/faces.el (mode-line-active, mode-line-inactive): Revert
back to using monospaced fonts on the mode line (for now).  The
main remaining usability problem is clicking on the very small "-"
characters in "U:--".
This commit is contained in:
Lars Ingebrigtsen 2021-12-23 11:43:47 +01:00
parent fb89711ebc
commit 2001ae5898
2 changed files with 2 additions and 11 deletions

View file

@ -91,15 +91,6 @@ time.
** 'C-x 8 .' has been moved to 'C-x 8 . .'.
This is to open up the 'C-x 8 .' map to bind further characters there.
---
** The mode line now uses a proportional font by default.
To get the old monospaced mode line back, customize the
'mode-line-active' and 'mode-line-inactive' faces not to inherit from
the 'variable-pitch' face, or add this to your "~/.emacs":
(set-face-attribute 'mode-line-active nil :inherit 'mode-line)
(set-face-attribute 'mode-line-inactive nil :inherit 'mode-line)
* Changes in Emacs 29.1

View file

@ -2630,7 +2630,7 @@ See `mode-line-display' for the face used on mode lines."
:group 'basic-faces)
(defface mode-line-active
'((t :inherit (mode-line variable-pitch)))
'((t :inherit mode-line))
"Face for the selected mode line.
This inherits from the `mode-line' face."
:version "29.1"
@ -2639,7 +2639,7 @@ This inherits from the `mode-line' face."
(defface mode-line-inactive
'((default
:inherit (mode-line variable-pitch))
:inherit mode-line)
(((class color) (min-colors 88) (background light))
:weight light
:box (:line-width -1 :color "grey75" :style nil)