From 80afd3b1c3d5cd61e2a247cba3946a010e178811 Mon Sep 17 00:00:00 2001 From: Matthew Fidler Date: Fri, 1 Apr 2016 22:00:13 -0500 Subject: [PATCH] Add back font support. --- mode-icons.el | 1 + 1 file changed, 1 insertion(+) diff --git a/mode-icons.el b/mode-icons.el index 264fd35..a09845c 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -601,6 +601,7 @@ everywhere else." (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) '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)) (and (eq (nth 2 icon-spec) 'png) (and (image-type-available-p 'xpm)