aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-11-12 02:45:15 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-11-12 02:46:04 +0000
commit75db6c18ceee1e75f8be0c312c6241d359b7a28b (patch)
tree0b10eee629d8060f20360e9886200bfd290e6048
parent5e2b92678e7d8e0b5ca57bfc8ac3b8378da23211 (diff)
Don’t calculate sx-question-mode-use-images at compile time
For some reason this causes the value to be nil for me, even though images are supported. Removing the eval-when-compile fixes that.
-rw-r--r--sx-question-print.el4
1 files changed, 1 insertions, 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