From 3b692e92f5ca27cb0ea7b9d964a42f1b466704bd Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 14 Sep 2023 01:31:32 +0200 Subject: [PATCH] refactor(modeline): remove doom-modeline-buffer-modified shim No longer needed. Ref: seagle0128/doom-modeline@5c9826731096 --- modules/ui/modeline/config.el | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/ui/modeline/config.el b/modules/ui/modeline/config.el index 3760fdf55..b58bf3eff 100644 --- a/modules/ui/modeline/config.el +++ b/modules/ui/modeline/config.el @@ -10,15 +10,6 @@ :hook (doom-modeline-mode . size-indication-mode) ; filesize in modeline :hook (doom-modeline-mode . column-number-mode) ; cursor column in modeline :init - (when (>= emacs-major-version 29) - ;; HACK: Emacs 29 treats `nil' for :background as invalid, and complains. - ;; `doom-modeline' hasn't updated its face to address this yet. - ;; REVIEW: PR this fix to doom-modeline - (defface doom-modeline-buffer-modified - '((t (:inherit (error bold) :background unspecified))) - "Face used for the \\='unsaved\\=' symbol in the mode-line." - :group 'doom-modeline-faces)) - ;; We display project info in the modeline ourselves (setq projectile-dynamic-mode-line nil) ;; Set these early so they don't trigger variable watchers