From 531938c7cdf3e009a8348aded6cb3f622a697a21 Mon Sep 17 00:00:00 2001 From: Marcus Kammer <2262664-marcuskammer@user.noreply.gitlab.com> Date: Wed, 2 Sep 2020 18:30:03 +0200 Subject: [PATCH] Open epub files woth nov mode --- bundle/bundle--package.el | 2 +- init.el | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 802b7a54..f33948bb 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -91,7 +91,7 @@ There are two things you can do about this warning: :ensure t :config (setq inferior-lisp-program (executable-find "sbcl"))) -(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) + (use-package org :ensure t diff --git a/init.el b/init.el index 71eb7ed7..72ad902a 100755 --- a/init.el +++ b/init.el @@ -28,6 +28,7 @@ (add-to-list 'auto-mode-alist '("\\.lisp$" . lisp-mode)) (add-to-list 'auto-mode-alist '("\\.lsp$" . lisp-mode)) (add-to-list 'auto-mode-alist '("\\.cl$" . lisp-mode)) +(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) (put 'narrow-to-region 'disabled nil) (put 'narrow-to-page 'disabled nil)