call olivetti if its not loaded

This commit is contained in:
Marcus Kammer 2020-10-30 15:42:35 +01:00
parent 544387d706
commit 63750746d2

View file

@ -20,6 +20,7 @@
(defun me/org-mode ()
"My custom configuration for 'org-mode'."
;(olivetti-mode)
(require 'olivetti)
(olivetti-set-width 82))
(add-hook 'nov-mode-hook 'me/org-mode)
(add-hook 'org-mode-hook 'turn-on-auto-fill)