aboutsummaryrefslogtreecommitdiff
path: root/shoshimacs.el
diff options
context:
space:
mode:
Diffstat (limited to 'shoshimacs.el')
-rw-r--r--shoshimacs.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/shoshimacs.el b/shoshimacs.el
index 2246d07..cd40724 100644
--- a/shoshimacs.el
+++ b/shoshimacs.el
@@ -268,6 +268,17 @@
erc-interpret-mirc-color t
erc-hide-list '("JOIN" "PART" "QUIT"))
+(defvar nov.el-repo "https://depp.brause.cc/nov.el.git")
+(defvar nov.el-src-dir (expand-file-name "~/src/nov.el/"))
+
+(unless (file-directory-p nov.el-src-dir)
+ (shell-command
+ (format "git clone %s %s" nov.el-repo nov.el-src-dir)))
+
+(add-to-list 'load-path nov.el-src-dir)
+(require 'nov)
+(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
+
;;; External Services
(package-install 'plz)