add nov package for epub file support
This commit is contained in:
7 files changed
+31
No files matched your search
+12
@@ -202,3 +202,15 @@
|
||||
[submodule "site-lisp/gptel"]
|
||||
path = site-lisp/gptel
|
||||
url = https://github.com/karthink/gptel.git
|
||||
[submodule "site-lisp/nov"]
|
||||
path = site-lisp/nov
|
||||
url = https://depp.brause.cc/nov.el.git
|
||||
[submodule "site-lisp/esxml"]
|
||||
path = site-lisp/esxml
|
||||
url = https://github.com/tali713/esxml.git
|
||||
[submodule "site-lisp/emacs-kv"]
|
||||
path = site-lisp/emacs-kv
|
||||
url = https://github.com/nicferrier/emacs-kv.git
|
||||
[submodule "site-lisp/emacs-db"]
|
||||
path = site-lisp/emacs-db
|
||||
url = https://github.com/nicferrier/emacs-db.git
|
||||
@@ -91,6 +91,7 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
|
||||
(require 'init-plantuml)
|
||||
(require 'init-prisma)
|
||||
(require 'init-gptel)
|
||||
(require 'init-nov)
|
||||
|
||||
|
||||
(setq custom-file (expand-file-name "custom.el" creature/cache-dir))
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
;; -*- coding: utf-8; lexical-binding: t; -*-
|
||||
|
||||
;; `nov' package need enable libxml2 for Emacs
|
||||
|
||||
(add-pkg-in-pkg-dir "nov")
|
||||
(add-pkg-in-pkg-dir "esxml")
|
||||
(add-pkg-in-pkg-dir "emacs-kv")
|
||||
(add-pkg-in-pkg-dir "emacs-db")
|
||||
|
||||
(autoload 'nov-mode "nov" "" t)
|
||||
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
||||
|
||||
|
||||
(provide 'init-nov)
|
||||
Submodule
+1
Submodule site-lisp/emacs-db added at b3a423fb8e.
Submodule
+1
Submodule site-lisp/emacs-kv added at 721148475b.
Submodule
+1
Submodule site-lisp/esxml added at 225693096a.
Submodule
+1
Submodule site-lisp/nov added at bbb5c60bfd.
Reference in new issue
Block a user