1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

Revert "Use fixed-pitch font for display-line-numbers"

This reverts commit d014a5e15c.
* lisp/faces.el (line-number): Don't use a fixed-pitch font, by
popular demand.  For relevant discussions, see

 http://lists.gnu.org/archive/html/emacs-devel/2017-07/msg00433.html
 http://lists.gnu.org/archive/html/emacs-devel/2017-07/msg00445.html
This commit is contained in:
Eli Zaretskii 2017-07-14 09:24:44 +03:00
parent 3128d5d10e
commit 5c9b6e901c

View File

@ -2465,12 +2465,9 @@ If you set `term-file-prefix' to nil, this function does nothing."
:version "21.1"
:group 'basic-faces)
;; Definition originally stolen from linum.el.
;; The monospace part is so we don't accidentally display numbers
;; using a variable-pitch font just because the default face uses
;; such a font.
;; Definition stolen from linum.el.
(defface line-number
'((t :inherit (shadow default) :family "Monospace Serif"))
'((t :inherit (shadow default)))
"Face for displaying line numbers.
This face is used when `display-line-numbers' is non-nil.