Remove custom font from ebook buffers

This commit is contained in:
Jeremy Dormitzer 2020-04-10 17:06:22 -04:00
parent c991125aac
commit c66936f519

View File

@ -3486,8 +3486,6 @@ This mode requires that [[https://github.com/ledger/ledger][ledger]] be installe
* EPubs * EPubs
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defun jdormit/nov-config () (defun jdormit/nov-config ()
(when (member "Input Serif" (font-family-list))
(face-remap-add-relative 'variable-pitch :family "Input Serif"))
(olivetti-mode) (olivetti-mode)
(nov-render-document)) (nov-render-document))