ui/modeline: remove dangling advice
`doom-modeline-icon-material` was removed upstream and replaced with `doom-modeline-icon`. This breaks the saved icon, again. PRs welcome.
This commit is contained in:
parent
fecf68bb2a
commit
fbe8d9d8ac
1 changed files with 0 additions and 11 deletions
|
@ -37,17 +37,6 @@
|
||||||
|
|
||||||
(add-hook '+doom-dashboard-mode-hook #'doom-modeline-set-project-modeline)
|
(add-hook '+doom-dashboard-mode-hook #'doom-modeline-set-project-modeline)
|
||||||
|
|
||||||
(when (or (featurep! :ui pretty-code +fira)
|
|
||||||
(featurep! :ui pretty-code +iosevka))
|
|
||||||
;; Fix #1216 and seagle0128/doom-modeline#69: wrong icon displayed for
|
|
||||||
;; 'save' icon in modeline.
|
|
||||||
(defadvice! +modeline-fix-font-conflict-with-ligatures-a (&rest args)
|
|
||||||
:override #'doom-modeline-icon-material
|
|
||||||
(when doom-modeline-icon
|
|
||||||
(pcase (car args)
|
|
||||||
("save" (apply 'all-the-icons-faicon (cons "floppy-o" (plist-put (cdr args) :v-adjust -0.0575))))
|
|
||||||
(other (apply 'all-the-icons-material args))))))
|
|
||||||
|
|
||||||
(add-hook! 'magit-mode-hook
|
(add-hook! 'magit-mode-hook
|
||||||
(defun +modeline-hide-in-non-status-buffer-h ()
|
(defun +modeline-hide-in-non-status-buffer-h ()
|
||||||
"Show minimal modeline in magit-status buffer, no modeline elsewhere."
|
"Show minimal modeline in magit-status buffer, no modeline elsewhere."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue