diff options
| author | cashmere <cashmere@autistici.org> | 2026-09-04 01:53:39 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-09-04 01:53:39 +0200 |
| commit | 657a2cae67992e85f22b8390e7ea8ee053076bdc (patch) | |
| tree | e0096f5f65334ceb9328f37401600600b6e5946f /lisp | |
| parent | 9b1fd26d28a02c108c986a68b98ab885d1893742 (diff) | |
| download | emacs-657a2cae67992e85f22b8390e7ea8ee053076bdc.tar.gz | |
md: 2026-09-04T01:53:45+02:00
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/my-header-line.el | 10 |
1 files changed, 2 insertions, 8 deletions
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) |
