diff --git a/modules/em-modeline.el b/modules/em-modeline.el index d36a65f..7f9d159 100644 --- a/modules/em-modeline.el +++ b/modules/em-modeline.el @@ -62,9 +62,13 @@ enabled." (propertize str 'face 'doom-modeline-eyebrowse)) "")) - (defun doom-modeline--active () - "Whether is an active window." - t) + ;; Necessary to play nice with Helm + (add-hook 'helm-minibuffer-set-up-hook + (lambda () + (advice-add #'doom-modeline--active :override (lambda () t)))) + (add-hook 'helm-cleanup-hook + (lambda () + (advice-remove #'doom-modeline--active (lambda () t)))) ;; Set the modeline (setq column-number-mode t)