From 0ebde68a4e8dc826e87b91f5942ac840e0ae450c Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 13 Oct 2019 12:25:40 +0200 Subject: [PATCH] Added nov for ebooks. --- init.el | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index f7d1639..3bf4aa3 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;; Time-stamp: <2019-10-11T11:08:40+00:00> +;; Time-stamp: <2019-10-13T10:24:23+00:00> ;;; Commentary: ;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and @@ -1152,6 +1152,17 @@ With argument, do this that many times." ("\\.[Cc][Ss][Vv]\\'" . csv-mode) ) +(use-package nov + :custom + (nov-text-width fill-column) + :custom-face + (variable-pitch ((t (:inherit variable-pitch + :family "Liberation Serif" + :height 1.4)))) + :mode + ("\\.epub\\'" . nov-mode) + ) + ;;;;;;;;;;;;;;;;;;;; Server / Remote editing ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Edit remote files. (unless slow-computer