1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

Obsolete image-jpeg-p

* lisp/image.el (image-jpeg-p): Declare obsolete.
This commit is contained in:
Robert Pluim 2018-05-24 17:28:11 +02:00
parent 8ca4228393
commit c0a0351249

View file

@ -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)))