aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorMichael R. Mauger2017-07-24 22:15:04 -0400
committerMichael R. Mauger2017-07-24 22:15:04 -0400
commitdf1a71272e5cdd10b511e2ffd702ca50ddd8a773 (patch)
tree9b9ac725394ee80891e2bff57b6407d0e491e71a /lisp/faces.el
parenteb27fc4d49e8c914cd0e6a8a2d02159601542141 (diff)
parent32daa3cb54523006c88717cbeac87964cd687a1b (diff)
downloademacs-df1a71272e5cdd10b511e2ffd702ca50ddd8a773.tar.gz
emacs-df1a71272e5cdd10b511e2ffd702ca50ddd8a773.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el34
1 files changed, 33 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 9a8a1344caf..97c32165b9c 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -102,11 +102,16 @@ a font height that isn't optimal."
102 ;; Monospace Serif is an Emacs invention, intended to work around 102 ;; Monospace Serif is an Emacs invention, intended to work around
103 ;; portability problems when using Courier. It should work well 103 ;; portability problems when using Courier. It should work well
104 ;; when combined with Monospaced and with other standard fonts. 104 ;; when combined with Monospaced and with other standard fonts.
105 ;; One of its uses is for 'tex-verbatim' and 'Info-quoted' faces,
106 ;; so the result must be different from the default face's font,
107 ;; and must be monospaced.
105 ("Monospace Serif" 108 ("Monospace Serif"
106 109
107 ;; This looks good on GNU/Linux. 110 ;; This looks good on GNU/Linux.
108 "Courier 10 Pitch" 111 "Courier 10 Pitch"
109 ;; This looks good on MS-Windows and OS X. 112 ;; This looks good on MS-Windows and OS X. Note that this is
113 ;; actually a sans-serif font, but it's here for lack of a better
114 ;; alternative.
110 "Consolas" 115 "Consolas"
111 ;; This looks good on macOS. "Courier" looks good too, but is 116 ;; This looks good on macOS. "Courier" looks good too, but is
112 ;; jagged on GNU/Linux and so is listed later as "courier". 117 ;; jagged on GNU/Linux and so is listed later as "courier".
@@ -2465,6 +2470,33 @@ If you set `term-file-prefix' to nil, this function does nothing."
2465 :version "21.1" 2470 :version "21.1"
2466 :group 'basic-faces) 2471 :group 'basic-faces)
2467 2472
2473;; Definition stolen from linum.el.
2474(defface line-number
2475 '((t :inherit (shadow default)))
2476 "Face for displaying line numbers.
2477This face is used when `display-line-numbers' is non-nil.
2478
2479If you customize the font of this face, make sure it is a
2480monospaced font, otherwise line numbers will not line up,
2481and text lines might move horizontally as you move through
2482the buffer."
2483 :version "26.1"
2484 :group 'basic-faces)
2485
2486(defface line-number-current-line
2487 '((t :inherit line-number))
2488 "Face for displaying the current line number.
2489This face is used when `display-line-numbers' is non-nil.
2490
2491If you customize the font of this face, make sure it is a
2492monospaced font, otherwise line numbers will not line up,
2493and text lines might move horizontally as you move through
2494the buffer. Similarly, making this face's font different
2495from that of the `line-number' face could produce such
2496unwanted effects."
2497 :version "26.1"
2498 :group 'basic-faces)
2499
2468(defface escape-glyph 2500(defface escape-glyph
2469 '((((background dark)) :foreground "cyan") 2501 '((((background dark)) :foreground "cyan")
2470 ;; See the comment in minibuffer-prompt for 2502 ;; See the comment in minibuffer-prompt for