From b2670e31606608cbf7f53a92d24bb293233c8595 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 10 Sep 2020 11:52:06 +0200 Subject: [PATCH] Emacs: Properly associate .epub with nov-move. --- .emacs.d/init.el | 1 + .emacs.d/lisp/init-nov.el | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f39669a7..42fe4180 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -240,6 +240,7 @@ ;; (require 'init-mu4e)) ;; (autoload 'helm-mu4e-switch "mu4e") +(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) (with-eval-after-load 'nov (require 'init-nov)) (with-eval-after-load 'notmuch (require 'init-notmuch)) diff --git a/.emacs.d/lisp/init-nov.el b/.emacs.d/lisp/init-nov.el index 1805b1b1..bd53a3ac 100644 --- a/.emacs.d/lisp/init-nov.el +++ b/.emacs.d/lisp/init-nov.el @@ -1,4 +1,3 @@ -(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) (setq nov-text-width 60) ;; (setq nov-text-width t)