Added nov for ebooks.

This commit is contained in:
tastytea 2019-10-13 12:25:40 +02:00
parent 1649154998
commit 0ebde68a4e
1 changed files with 12 additions and 1 deletions

13
init.el
View File

@ -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