aboutsummaryrefslogtreecommitdiff
path: root/sx-question-print.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-26 15:47:41 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-26 15:47:41 -0200
commit962629877d5adf75c3e5464f2d6a61b7f2fccc61 (patch)
treeb316199d5d6e6722e6e66d1e7795943c5ecb3877 /sx-question-print.el
parentb413d048be63e2981e1d1069d86c83de0ed1ef87 (diff)
parent75c4a7d4e02e81c42a4914e2b798f60415a3b505 (diff)
Merge branch 'images' into handle-html-tags
Diffstat (limited to 'sx-question-print.el')
-rw-r--r--sx-question-print.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index 84dbe44..56481cf 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -162,8 +162,13 @@ replaced with the comment."
(const :tag "More active first" sx-answer-more-active-p))
:group 'sx-question-mode)
-(defcustom sx-question-mode-use-images t
- "Non-nil if SX should download and display images."
+(defcustom sx-question-mode-use-images
+ (eval-when-compile
+ (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
+type is not available, images won't work."
:type 'boolean
:group 'sx-question-mode)