From da4332a99aa48af7d4992f87ea93b277e58ce9d8 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 10 Apr 2020 17:55:29 +0100 Subject: [PATCH] el/dot-emacs.el: Define a `fixed-pitch-serif' face. 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 180b0b2..d2b9dcc 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -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)) -- 2.11.0