summaryrefslogtreecommitdiff
path: root/lisp/image.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-17 21:24:14 -0700
committerGlenn Morris <rgm@gnu.org>2013-09-17 21:24:14 -0700
commit67645389fc19c3573bb94f9f7d94195ac0b7b48f (patch)
tree2899079566c1b2760bb0dcd4c8d579bb6ac1f6be /lisp/image.el
parent5f30349b1ec61b687a2e238368168bb01bfcfe68 (diff)
* image.el (image-type-from-buffer): Remove --without-x warning/error.
Diffstat (limited to 'lisp/image.el')
-rw-r--r--lisp/image.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/image.el b/lisp/image.el
index 6c15a7d0b96..8afe3e14b10 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -291,6 +291,7 @@ be determined."
(setq types (cdr types)))))
(goto-char opoint)
(and type
+ (boundp 'image-types)
(memq type image-types)
type)))