Make nov-mode re-render after tweaking disp params

This commit is contained in:
TEC 2022-07-24 01:26:43 +08:00
parent 12982abd0e
commit e7b1ba7bb7
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 2 additions and 1 deletions

View File

@ -3469,7 +3469,8 @@ Then, to actually read the ebooks we use =nov=.
nov-text-width 80)
(visual-fill-column-mode 1)
(hl-line-mode -1)
;; Re-render with new display settings
(nov-render-document)
(add-to-list '+lookup-definition-functions #'+lookup/dictionary-definition)
(setq-local mode-line-format