aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2023-01-04 14:04:53 -0800
committerRaul Benencia <rul@kalgan.cc>2023-01-04 14:04:53 -0800
commit2aa4d37e254d15bde83e01d5c5e83b0998509d98 (patch)
treeffe7c8fb2858fcc433dcbec023c2477b58ba167d /.emacs.local.d
parent9e79943ec035a7e018eb26b70d92b7a1cb8799fb (diff)
Revert "emacs: writeroom in notmuch-show"
This reverts commit 902158fc2379a1c08551673c62c60e95afce81dc.
Diffstat (limited to '.emacs.local.d')
-rw-r--r--.emacs.local.d/modes/notmuch.el3
-rw-r--r--.emacs.local.d/modes/writeroom.el6
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
))
nihil fit ex nihilo