ui/zen: disable fullscreening properly

Setting writeroom-fullscreen-effect to nil wasn't the correct way to
disable fullscreen.
This commit is contained in:
Henrik Lissner 2020-01-09 02:45:41 -05:00
parent 4688113380
commit 87f72c096c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -11,8 +11,10 @@
;;; Packages
(after! writeroom-mode
(setq writeroom-fullscreen-effect nil
writeroom-maximize-window nil)
;; Users should be able to activate writeroom-mode in one buffer (e.g. an org
;; buffer) and code in another. Fullscreening/maximizing will be opt-in.
(setq writeroom-maximize-window nil)
(remove-hook 'writeroom-global-effects 'writeroom-set-fullscreen)
(add-hook! 'writeroom-mode-hook
(defun +zen-enable-mixed-pitch-mode-h ()