[emacs] Add nov.el mode
This commit is contained in:
@ -91,6 +91,13 @@
|
|||||||
(defvar host-dir "~/.config/doom/hosts/")
|
(defvar host-dir "~/.config/doom/hosts/")
|
||||||
(add-load-path! host-dir)
|
(add-load-path! host-dir)
|
||||||
|
|
||||||
|
;; Setup nov.el mode for epubs and change font
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
||||||
|
(defun my-nov-font-setup ()
|
||||||
|
(face-remap-add-relative 'variable-pitch :family "Overpass"
|
||||||
|
:height 1.0))
|
||||||
|
(add-hook 'nov-mode-hook 'my-nov-font-setup)
|
||||||
|
|
||||||
;;(let ((init-host-feature (intern (concat "init-" host ".el"))))
|
;;(let ((init-host-feature (intern (concat "init-" host ".el"))))
|
||||||
;; (load-file init-host-feature))
|
;; (load-file init-host-feature))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user