summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2026-06-08 18:17:56 +0200
committerLLoyderino <adrijan.bjedov@gmail.com>2026-06-08 18:17:56 +0200
commit1914da7474e852d1c05fe79c8d6983bf9af39350 (patch)
treec2d1feab845d1f2902b72a854e65b0c85ae4f766
parent0ba77768ab78ab1efd10c4c37a92948f67a18523 (diff)
Correctly open epub files with nov-mode
-rw-r--r--init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/init.el b/init.el
index 97df10d..941c030 100644
--- a/init.el
+++ b/init.el
@@ -170,8 +170,9 @@
:hook ((nov-mode . visual-line-mode)
(nov-mode . visual-fill-column-mode))
:config
- (setopt nov-text-width 80)
- (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)))
+ (setopt nov-text-width 80))
+
+(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
;; Magit
(use-package magit)