Open epub files woth nov mode

This commit is contained in:
Marcus Kammer 2020-09-02 18:30:03 +02:00
parent 341cb389f3
commit 531938c7cd
2 changed files with 2 additions and 1 deletions

View file

@ -91,7 +91,7 @@ There are two things you can do about this warning:
:ensure t
:config (setq inferior-lisp-program (executable-find "sbcl")))
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
(use-package org
:ensure t

View file

@ -28,6 +28,7 @@
(add-to-list 'auto-mode-alist '("\\.lisp$" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.lsp$" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.cl$" . lisp-mode))
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
(put 'narrow-to-region 'disabled nil)
(put 'narrow-to-page 'disabled nil)