chiark / gitweb /
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 180b0b2dbae1a9db9d03812f95ba8f56aa837ebc..d2b9dccef345a06cf94beef78b9e5aaf8ddf61bd 100644 (file)
@@ -1400,6 +1400,10 @@ (mdw-define-face fixed-pitch
   (((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))