From 1e19ae3429754883b858600eaa69915406a2e236 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 21 Feb 2024 12:56:58 +0100 Subject: Remove now obsolete fiddling with info faces. This is handled by modus theme customization. --- init.org | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'init.org') diff --git a/init.org b/init.org index 6e216b6..3195619 100644 --- a/init.org +++ b/init.org @@ -312,33 +312,8 @@ When working on Guix it helps to reduce boilerplate with snippets. I like to ha (yas-global-mode)) #+END_SRC -* Manuals -Also in Info manuals I want to use variable-pitch fonts where possible. Unfortunately, Info manuals don’t contain enough semantic markup, so I cannot selectively use a monospace font for examples or inline code and use a variable pitch font for everything else. So I just use variable pitch in headings. -#+BEGIN_SRC elisp -(require 'info) -(set-face-attribute 'info-title-1 nil - :inherit 'variable-pitch - :height 1.3) -(set-face-attribute 'info-title-2 nil - :inherit 'variable-pitch - :height 1.3) -(set-face-attribute 'info-title-3 nil - :inherit 'variable-pitch - :height 1.3) -(set-face-attribute 'info-menu-header nil - :inherit 'variable-pitch - :height 1.1) -#+END_SRC - -Since Emacs 25 there is a new face for quoted expressions in Info manuals. By default it uses the “courier” font, which looks terrible. - -#+BEGIN_SRC elisp -(set-face-attribute 'Info-quoted nil - :inherit 'fixed-pitch - :family "Monospace") -#+END_SRC * Org-mode -- cgit v1.2.3