el/dot-emacs.el: Define a `fixed-pitch-serif' face.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 10 Apr 2020 16:55:29 +0000 (17:55 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 10 Apr 2020 16:55:29 +0000 (17:55 +0100)
This is primarily needed for Info mode, which, in later Emacs, otherwise
uses Courier for explicitly-monospace text, which really doesn't fit
well against X11 Fixed.

el/dot-emacs.el

index 180b0b2..d2b9dcc 100644 (file)
@@ -1400,6 +1400,10 @@ doesn't match any of the regular expressions in
   (((type w32)) :family "courier new" :height 85)
   (((type x)) :family "6x13" :foundry "trad" :height 130)
   (t :foreground "white" :background "black"))
+(mdw-define-face fixed-pitch-serif
+  (((type w32)) :family "courier new" :height 85 :weight bold)
+  (((type x)) :family "6x13" :foundry "trad" :height 130 :weight bold)
+  (t :foreground "white" :background "black" :weight bold))
 (if (mdw-emacs-version-p 23)
     (mdw-define-face variable-pitch
       (((type x)) :family "sans" :height 100))