Use ‘nov-mode’ for ‘.epub’ files
This commit is contained in:
parent
a8b95ba858
commit
86f4264e3f
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue