From 00664b08b49446a74d8d4f33b1784aab5def95ff Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 9 Apr 2020 08:41:27 -0400 Subject: [PATCH] [emacs] Use variable pitch for nov.el and elfeed --- emacs/.config/doom/config.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs/.config/doom/config.org b/emacs/.config/doom/config.org index 2575e09..5ef552b 100644 --- a/emacs/.config/doom/config.org +++ b/emacs/.config/doom/config.org @@ -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)