From 86f4264e3f1c97dfb03308f8f0ba9dfb4027781b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 7 Apr 2020 23:15:48 -0700 Subject: [PATCH] =?UTF-8?q?Use=20=E2=80=98nov-mode=E2=80=99=20for=20?= =?UTF-8?q?=E2=80=98.epub=E2=80=99=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-epub.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/oni-epub.el b/oni-epub.el index 2cd8572..e8213c2 100644 --- a/oni-epub.el +++ b/oni-epub.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0329.235548 +;; Version: 2020.0407.231536 ;; Package-Requires: (nov) ;; This program is free software; you can redistribute it and/or modify @@ -26,6 +26,9 @@ ;;; Code: +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) + ;;;###autoload(with-eval-after-load 'nov (require 'oni-epub)) (provide 'oni-epub)