diff options
| author | Dominik Kaiser | 2025-02-11 12:39:07 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-02-11 12:39:07 +0100 |
| commit | 188049cc57244b129292f4926b244a60607ae103 (patch) | |
| tree | c5fb46a89356fad80a5f9da00101169feef096b5 | |
| parent | a2d8db7e9f7b885bcd678d47f5dd8a4a8b6bc6d5 (diff) | |
| download | emacs-188049cc57244b129292f4926b244a60607ae103.tar.gz emacs-188049cc57244b129292f4926b244a60607ae103.zip | |
Setup olivetti hooks on init
When using it in config, it wasn't working correctly.
| -rw-r--r-- | README.org | 2 | ||||
| -rw-r--r-- | init.el | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -65,7 +65,7 @@ #+begin_src elisp (use-package olivetti :bind ("C-c f" . olivetti-mode) - :config + :init (setq-default olivetti-body-width 100) (add-hook 'org-mode-hook #'olivetti-mode) (add-hook 'text-mode-hook #'olivetti-mode)) @@ -39,7 +39,7 @@ (use-package olivetti :bind ("C-c f" . olivetti-mode) - :config + :init (setq-default olivetti-body-width 100) (add-hook 'org-mode-hook #'olivetti-mode) (add-hook 'text-mode-hook #'olivetti-mode)) |
