From: Robert Pluim Date: Thu, 24 May 2018 15:28:11 +0000 (+0200) Subject: Obsolete image-jpeg-p X-Git-Tag: emacs-27.0.90~4967 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c0a0351249c1e6a9307224d8337ff8916f4cf138;p=emacs.git Obsolete image-jpeg-p * lisp/image.el (image-jpeg-p): Declare obsolete. --- diff --git a/lisp/image.el b/lisp/image.el index e084fe329af..8d12b680ea9 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -248,6 +248,7 @@ compatibility with versions of Emacs that lack the variable ;; Used to be in image-type-header-regexps, but now not used anywhere ;; (since 2009-08-28). (defun image-jpeg-p (data) + (declare (obsolete "It is unused inside Emacs and will be removed." "27.1")) "Value is non-nil if DATA, a string, consists of JFIF image data. We accept the tag Exif because that is the same format." (setq data (ignore-errors (string-to-unibyte data)))