From 75db6c18ceee1e75f8be0c312c6241d359b7a28b Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Thu, 12 Nov 2015 02:45:15 +0000 Subject: Don’t calculate sx-question-mode-use-images at compile time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason this causes the value to be nil for me, even though images are supported. Removing the eval-when-compile fixes that. --- sx-question-print.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sx-question-print.el b/sx-question-print.el index 085a6fa..fab2999 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -199,9 +199,7 @@ replaced with the comment." sx-question-mode--sort-methods)) :group 'sx-question-mode) -(defcustom sx-question-mode-use-images - (eval-when-compile - (image-type-available-p 'imagemagick)) +(defcustom sx-question-mode-use-images (image-type-available-p 'imagemagick) "Non-nil if SX should download and display images. By default, this is `t' if the `imagemagick' image type is available (checked with `image-type-available-p'). If this image -- cgit v1.2.3