From 67645389fc19c3573bb94f9f7d94195ac0b7b48f Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 17 Sep 2013 21:24:14 -0700 Subject: [PATCH] * image.el (image-type-from-buffer): Remove --without-x warning/error. --- lisp/ChangeLog | 2 ++ lisp/image.el | 1 + 2 files changed, 3 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index af062359d4e..747a2bf5265 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2013-09-18 Glenn Morris + * image.el (image-type-from-buffer): Remove --without-x warning/error. + * mouse.el (mouse-yank-primary): Reorder to silence --without-x compilation. 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))) -- 2.39.2