summaryrefslogtreecommitdiff
path: root/init.org
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-02-21 12:56:58 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-02-21 12:56:58 +0100
commit1e19ae3429754883b858600eaa69915406a2e236 (patch)
tree12e6af252d7bcb7a02495af88b4e62f437142c85 /init.org
parent11b8d22d178fc5b2e0ee811994ebddbf99675f1e (diff)
Remove now obsolete fiddling with info faces.
This is handled by modus theme customization.
Diffstat (limited to 'init.org')
-rw-r--r--init.org25
1 files changed, 0 insertions, 25 deletions
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