1
0
Fork 0

Use ‘nov-mode’ for ‘.epub’ files

This commit is contained in:
Tom Willemse 2020-04-07 23:15:48 -07:00
parent a8b95ba858
commit 86f4264e3f

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.0329.235548 ;; Version: 2020.0407.231536
;; Package-Requires: (nov) ;; Package-Requires: (nov)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -26,6 +26,9 @@
;;; Code: ;;; Code:
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
;;;###autoload(with-eval-after-load 'nov (require 'oni-epub)) ;;;###autoload(with-eval-after-load 'nov (require 'oni-epub))
(provide 'oni-epub) (provide 'oni-epub)