mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/zen: disable fullscreening properly
Setting writeroom-fullscreen-effect to nil wasn't the correct way to disable fullscreen.
This commit is contained in:
@ -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 ()
|
||||
|
Reference in New Issue
Block a user