From 44d59ae0baccaf7f5223e55bd73c0a66844baf33 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 11 Apr 2016 10:43:06 +0200 Subject: [PATCH] Add missing setq argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Emacs 25 requires ‘setq’ to have an even number of arguments. Previously a ‘setq’ call with a single argument was allowed to mean the same as if nil was passed as the second argument, but this has been changed. Fix #23 --- mode-icons.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode-icons.el b/mode-icons.el index 6d15696..61d1c37 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -476,7 +476,7 @@ ACTIVE is an indicator that the current window is active." ((and (image-type-available-p 'xpm) (setq tmp (mode-icons--get-font-xpm-file (list "" icon type))) (file-exists-p tmp)) - (setq tmp ) + (setq tmp nil) (mode-icons-get-icon-display (mode-icons--get-font-xpm-file (list "" icon type) t) 'xpm-bw face active)) (t nil)) mode-icons-get-icon-display))))