diff options
| author | Eli Zaretskii | 2017-07-14 09:24:44 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-07-14 09:24:44 +0300 |
| commit | 5c9b6e901ca97895c6224f32f1a9ca4a7d565b65 (patch) | |
| tree | e4c459ac8d16645137b790633cf64e9e8aca7329 | |
| parent | 3128d5d10e702ccb0732d947370e539a54046fc9 (diff) | |
| download | emacs-5c9b6e901ca97895c6224f32f1a9ca4a7d565b65.tar.gz emacs-5c9b6e901ca97895c6224f32f1a9ca4a7d565b65.zip | |
Revert "Use fixed-pitch font for display-line-numbers"
This reverts commit d014a5e15c1110af77e7a96f06ccd0f0cafb099f.
* 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
| -rw-r--r-- | lisp/faces.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index e073ed266c0..c3693d16631 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -2465,12 +2465,9 @@ If you set `term-file-prefix' to nil, this function does nothing." | |||
| 2465 | :version "21.1" | 2465 | :version "21.1" |
| 2466 | :group 'basic-faces) | 2466 | :group 'basic-faces) |
| 2467 | 2467 | ||
| 2468 | ;; Definition originally stolen from linum.el. | 2468 | ;; Definition stolen from linum.el. |
| 2469 | ;; The monospace part is so we don't accidentally display numbers | ||
| 2470 | ;; using a variable-pitch font just because the default face uses | ||
| 2471 | ;; such a font. | ||
| 2472 | (defface line-number | 2469 | (defface line-number |
| 2473 | '((t :inherit (shadow default) :family "Monospace Serif")) | 2470 | '((t :inherit (shadow default))) |
| 2474 | "Face for displaying line numbers. | 2471 | "Face for displaying line numbers. |
| 2475 | This face is used when `display-line-numbers' is non-nil. | 2472 | This face is used when `display-line-numbers' is non-nil. |
| 2476 | 2473 | ||