ui/zen: fix mixed-pitch-mode not activating
This commit is contained in:
parent
87f72c096c
commit
67d9ef64f3
1 changed files with 1 additions and 1 deletions
|
@ -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)))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue