diff options
| author | 2026-05-19 09:24:01 -0700 | |
|---|---|---|
| committer | 2026-05-19 09:24:01 -0700 | |
| commit | dc7b512dbe29db8f61f1485dad4213f5c5fd2669 (patch) | |
| tree | 127d975ca3b521b360f2e1431e579d8f2e849586 | |
| parent | 3d0eaba984a697621821aeb2f80e8c2a3dbcca96 (diff) | |
| download | yoshi-theme-master.tar.gz yoshi-theme-master.zip | |
I just want to replace the CAR for now, I don't need to replace the CDR.
| -rw-r--r-- | yoshi-mode-line.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yoshi-mode-line.el b/yoshi-mode-line.el index 840bfb9..7187f5d 100644 --- a/yoshi-mode-line.el +++ b/yoshi-mode-line.el @@ -77,7 +77,8 @@ ((derived-mode-p '(php-mode)) (propertize mode-name 'display `(image :type svg :file ,(expand-file-name "php.svg" yoshi-mode-line-icons-dir) :ascent center :height ,(window-default-font-height)))) ((derived-mode-p '(emacs-lisp-mode)) - (propertize mode-name 'display `(image :type svg :file ,(expand-file-name "emacs.svg" yoshi-mode-line-icons-dir) :ascent center :height ,(window-default-font-height)))) + (cons (propertize (car mode-name) 'display `(image :type svg :file ,(expand-file-name "emacs.svg" yoshi-mode-line-icons-dir) :ascent center :height ,(window-default-font-height))) + (cdr mode-name))) ((derived-mode-p '(magit-mode)) (propertize mode-name 'display `(image :type svg :file ,(expand-file-name "magit.svg" yoshi-mode-line-icons-dir) :ascent center :height ,(window-default-font-height)))) (t |
