mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/doom: remove mixed-pitch-mode compat hack
Made obsolete by changes upstream in solaire-mode.
This commit is contained in:
@ -73,13 +73,4 @@
|
||||
(add-hook! '(minibuffer-setup-hook window-configuration-change-hook)
|
||||
#'+doom|disable-fringes-in-minibuffer)
|
||||
|
||||
(solaire-global-mode +1)
|
||||
|
||||
;; Fix incompatibility with the mixed-pitch package which causes all buffers
|
||||
;; to be affected (by `mixed-pitch-mode')
|
||||
(defun +doom*fix-mixed-pitch-mode (&optional arg)
|
||||
(when (and mixed-pitch-mode (not arg))
|
||||
(mixed-pitch-mode -1))
|
||||
(solaire-mode -1)
|
||||
(turn-on-solaire-mode))
|
||||
(advice-add #'mixed-pitch-mode :before #'+doom*fix-mixed-pitch-mode))
|
||||
(solaire-global-mode +1))
|
||||
|
Reference in New Issue
Block a user