From 657a2cae67992e85f22b8390e7ea8ee053076bdc Mon Sep 17 00:00:00 2001 From: cashmere Date: Fri, 4 Sep 2026 01:53:39 +0200 Subject: md: 2026-09-04T01:53:45+02:00 --- lisp/my-header-line.el | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'lisp/my-header-line.el') diff --git a/lisp/my-header-line.el b/lisp/my-header-line.el index 3d52f2c..fdce633 100644 --- a/lisp/my-header-line.el +++ b/lisp/my-header-line.el @@ -37,10 +37,6 @@ Matches the default height of Dirvish's full-frame header line." '((t (:inherit font-lock-builtin-face :weight bold))) "Face for the evil Emacs state indicator.") -(defface my/header-line-buffer-icon-face - '((t (:inherit mode-line-buffer-id))) - "Face for the current buffer's file or mode icon.") - (defface my/header-line-irc-face '((t (:inherit font-lock-builtin-face :weight bold))) "Face for the IRC activity indicator.") @@ -144,11 +140,9 @@ the project root, falling back to the plain buffer name." (when (my/header-line--nerd-icons-p) (or (and buffer-file-name (ignore-errors - (nerd-icons-icon-for-file - buffer-file-name :face 'my/header-line-buffer-icon-face))) + (nerd-icons-icon-for-file buffer-file-name))) (ignore-errors - (nerd-icons-icon-for-mode - major-mode :face 'my/header-line-buffer-icon-face))))) + (nerd-icons-icon-for-mode major-mode))))) (defconst my/header-line--evil-states '((normal "N" my/header-line-evil-normal) -- cgit v1.3.1