From 188049cc57244b129292f4926b244a60607ae103 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Tue, 11 Feb 2025 12:39:07 +0100 Subject: [PATCH] Setup olivetti hooks on init When using it in config, it wasn't working correctly. --- README.org | 2 +- init.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index c78925f..688cd47 100644 --- a/README.org +++ b/README.org @@ -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)) diff --git a/init.el b/init.el index 07ebe47..e224bb0 100644 --- a/init.el +++ b/init.el @@ -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)) -- 2.47.2