From 9f1a0ee81e13457f07e549de133cb335c2fd56d8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 2 Mar 2019 12:48:08 -0500 Subject: [PATCH] ui/doom: remove mixed-pitch-mode compat hack Made obsolete by changes upstream in solaire-mode. --- modules/ui/doom/config.el | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/ui/doom/config.el b/modules/ui/doom/config.el index 59edd4386..e5f4f8c51 100644 --- a/modules/ui/doom/config.el +++ b/modules/ui/doom/config.el @@ -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))