mirror of
https://github.com/ryuslash/mode-icons.git
synced 2024-11-24 18:40:29 +01:00
Add back font support.
This commit is contained in:
parent
72255f753d
commit
80afd3b1c3
1 changed files with 1 additions and 0 deletions
|
@ -601,6 +601,7 @@ everywhere else."
|
||||||
(file-exists-p (mode-icons--get-emoji-xpm-file icon-spec)))))
|
(file-exists-p (mode-icons--get-emoji-xpm-file icon-spec)))))
|
||||||
(and (eq (nth 2 icon-spec) 'jpg) (image-type-available-p 'jpeg))
|
(and (eq (nth 2 icon-spec) 'jpg) (image-type-available-p 'jpeg))
|
||||||
(and (eq (nth 2 icon-spec) 'xpm-bw) (image-type-available-p 'xpm))
|
(and (eq (nth 2 icon-spec) 'xpm-bw) (image-type-available-p 'xpm))
|
||||||
|
(mode-icons-supported-font-p (nth 1 icon-spec) (nth 2 icon-spec))
|
||||||
(or (image-type-available-p (nth 2 icon-spec))
|
(or (image-type-available-p (nth 2 icon-spec))
|
||||||
(and (eq (nth 2 icon-spec) 'png)
|
(and (eq (nth 2 icon-spec) 'png)
|
||||||
(and (image-type-available-p 'xpm)
|
(and (image-type-available-p 'xpm)
|
||||||
|
|
Loading…
Reference in a new issue