call olivetti if its not loaded
This commit is contained in:
parent
544387d706
commit
63750746d2
1 changed files with 1 additions and 0 deletions
1
init.el
1
init.el
|
@ -20,6 +20,7 @@
|
||||||
(defun me/org-mode ()
|
(defun me/org-mode ()
|
||||||
"My custom configuration for 'org-mode'."
|
"My custom configuration for 'org-mode'."
|
||||||
;(olivetti-mode)
|
;(olivetti-mode)
|
||||||
|
(require 'olivetti)
|
||||||
(olivetti-set-width 82))
|
(olivetti-set-width 82))
|
||||||
(add-hook 'nov-mode-hook 'me/org-mode)
|
(add-hook 'nov-mode-hook 'me/org-mode)
|
||||||
(add-hook 'org-mode-hook 'turn-on-auto-fill)
|
(add-hook 'org-mode-hook 'turn-on-auto-fill)
|
||||||
|
|
Loading…
Add table
Reference in a new issue