aboutsummaryrefslogtreecommitdiffstats
path: root/oni-epub.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-epub.el')
-rw-r--r--oni-epub.el5
1 files changed, 4 insertions, 1 deletions
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 <tom@ryuslash.org>
;; 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)