From 188049cc57244b129292f4926b244a60607ae103 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Tue, 11 Feb 2025 12:39:07 +0100 Subject: Setup olivetti hooks on init When using it in config, it wasn't working correctly. --- README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.org') 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)) -- cgit v1.2.3