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:
parent
8ca4228393
commit
c0a0351249
1 changed files with 1 additions and 0 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue