From 72736b5a92b0b821db2255ee616011d79736e1d3 Mon Sep 17 00:00:00 2001 From: Matthew L. Fidler Date: Tue, 9 Feb 2016 10:11:24 -0600 Subject: Make sure text is supported --- mode-icons.el | 1 + 1 file changed, 1 insertion(+) (limited to 'mode-icons.el') diff --git a/mode-icons.el b/mode-icons.el index 823f7f2..0758717 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -139,6 +139,7 @@ the icon." (defun mode-icons-supported-p (icon-spec) "Determine if ICON-SPEC is suppored on your system." (or + (and (or (eq (nth 2 icon-spec) nil) (eq (nth 1 icon-spec) nil)) t) (and (eq (nth 2 icon-spec) 'octicons) mode-icons-octicons-font (not (eq system-type 'windows-nt)) (stringp (nth 1 icon-spec))) (and (eq (nth 2 icon-spec) 'jpg) (image-type-available-p 'jpeg)) -- cgit v1.2.3-54-g00ecf