From 2aa4d37e254d15bde83e01d5c5e83b0998509d98 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Wed, 4 Jan 2023 14:04:53 -0800 Subject: Revert "emacs: writeroom in notmuch-show" This reverts commit 902158fc2379a1c08551673c62c60e95afce81dc. --- .emacs.local.d/modes/notmuch.el | 3 --- .emacs.local.d/modes/writeroom.el | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.emacs.local.d/modes/notmuch.el b/.emacs.local.d/modes/notmuch.el index 43e5689..b22ede3 100644 --- a/.emacs.local.d/modes/notmuch.el +++ b/.emacs.local.d/modes/notmuch.el @@ -102,6 +102,3 @@ than one email. Use notmuch-show otherwise." (overlay-put overlay 'face '((:inherit bold) (:foreground "green"))))))))))) (add-hook 'notmuch-hello-refresh-hook 'color-inbox-if-unread) -(add-hook 'notmuch-show-hook - (lambda () - (writeroom-mode))) diff --git a/.emacs.local.d/modes/writeroom.el b/.emacs.local.d/modes/writeroom.el index 1f86fc0..50780cc 100644 --- a/.emacs.local.d/modes/writeroom.el +++ b/.emacs.local.d/modes/writeroom.el @@ -2,7 +2,7 @@ :defer t :config (setq writeroom-width 140 - writeroom-mode-line 't + writeroom-mode-line nil writeroom-global-effects '(writeroom-set-bottom-divider-width writeroom-set-internal-border-width (lambda (arg) @@ -24,11 +24,11 @@ (mapcar (lambda (lang) (list lang '(:family "Source Code Pro" :height 1.0))) langs)) (normal-mode) (variable-pitch-mode) - (variable-pitch-mode))))))))) +(variable-pitch-mode))))))))) (use-package olivetti :defer t :config (setq - olivetti-body-width 100 + olivetti-body-width 86 )) -- cgit v1.2.3