[emacs] Use variable pitch for nov.el and elfeed

This commit is contained in:
Colin Powell
2020-04-09 08:41:27 -04:00
parent 6b5a24b733
commit 00664b08b4

View File

@ -153,6 +153,9 @@ Right now, just make sure I can connect to my local Mopidy server via MPDel.
; crontab-like elfeed updating
(run-with-timer 0 (* 30 60) 'elfeed-update)
; Serif font in Elfeed
(add-hook 'elfeed-mode-hook 'variable-pitch-mode)
(setq httpd-host "0.0.0.0")
(setq httpd-port 10000)
#+END_SRC
@ -378,7 +381,7 @@ Reading novels in Emacs, how novel!
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
(defun my-nov-font-setup ()
(face-remap-add-relative 'variable-pitch :family "Liberation Serif"
(face-remap-add-relative 'variable-pitch :family "Noto Serif"
:size 20
:height 1.0))
(add-hook 'nov-mode-hook 'my-nov-font-setup)