mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/zen: fix mixed-pitch-mode not activating
This commit is contained in:
@ -17,7 +17,7 @@
|
|||||||
(remove-hook 'writeroom-global-effects 'writeroom-set-fullscreen)
|
(remove-hook 'writeroom-global-effects 'writeroom-set-fullscreen)
|
||||||
|
|
||||||
(add-hook! 'writeroom-mode-hook
|
(add-hook! 'writeroom-mode-hook
|
||||||
(defun +zen-enable-mixed-pitch-mode-h ()
|
(defun +zen-enable-text-scaling-mode-h ()
|
||||||
"Enable `mixed-pitch-mode' when in `+zen-mixed-pitch-modes'."
|
"Enable `mixed-pitch-mode' when in `+zen-mixed-pitch-modes'."
|
||||||
(when (/= +zen-text-scale 0)
|
(when (/= +zen-text-scale 0)
|
||||||
(text-scale-set (if writeroom-mode +zen-text-scale 0)))))
|
(text-scale-set (if writeroom-mode +zen-text-scale 0)))))
|
||||||
|
Reference in New Issue
Block a user