Add missing setq argument

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
This commit is contained in:
Tom Willemse 2016-04-11 10:43:06 +02:00
parent dfdfb573e4
commit 44d59ae0ba

View file

@ -476,7 +476,7 @@ ACTIVE is an indicator that the current window is active."
((and (image-type-available-p 'xpm) ((and (image-type-available-p 'xpm)
(setq tmp (mode-icons--get-font-xpm-file (list "" icon type))) (setq tmp (mode-icons--get-font-xpm-file (list "" icon type)))
(file-exists-p tmp)) (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)) (mode-icons-get-icon-display (mode-icons--get-font-xpm-file (list "" icon type) t) 'xpm-bw face active))
(t nil)) (t nil))
mode-icons-get-icon-display)))) mode-icons-get-icon-display))))