diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-02-21 12:56:58 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-02-21 12:56:58 +0100 |
commit | 1e19ae3429754883b858600eaa69915406a2e236 (patch) | |
tree | 12e6af252d7bcb7a02495af88b4e62f437142c85 /init.org | |
parent | 11b8d22d178fc5b2e0ee811994ebddbf99675f1e (diff) |
Remove now obsolete fiddling with info faces.
This is handled by modus theme customization.
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -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 |