diff options
| -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 |
