diff options
| author | Robert Pluim | 2018-05-24 17:28:11 +0200 |
|---|---|---|
| committer | Robert Pluim | 2018-05-31 17:14:28 +0200 |
| commit | c0a0351249c1e6a9307224d8337ff8916f4cf138 (patch) | |
| tree | 44cb6fe58761fd514d5dcb5c91510ed8a96e0dbd | |
| parent | 8ca42283939d458e30f74dce2bb1908257ea776f (diff) | |
| download | emacs-c0a0351249c1e6a9307224d8337ff8916f4cf138.tar.gz emacs-c0a0351249c1e6a9307224d8337ff8916f4cf138.zip | |
Obsolete image-jpeg-p
* lisp/image.el (image-jpeg-p): Declare obsolete.
| -rw-r--r-- | lisp/image.el | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
| 248 | ;; Used to be in image-type-header-regexps, but now not used anywhere | 248 | ;; Used to be in image-type-header-regexps, but now not used anywhere |
| 249 | ;; (since 2009-08-28). | 249 | ;; (since 2009-08-28). |
| 250 | (defun image-jpeg-p (data) | 250 | (defun image-jpeg-p (data) |
| 251 | (declare (obsolete "It is unused inside Emacs and will be removed." "27.1")) | ||
| 251 | "Value is non-nil if DATA, a string, consists of JFIF image data. | 252 | "Value is non-nil if DATA, a string, consists of JFIF image data. |
| 252 | We accept the tag Exif because that is the same format." | 253 | We accept the tag Exif because that is the same format." |
| 253 | (setq data (ignore-errors (string-to-unibyte data))) | 254 | (setq data (ignore-errors (string-to-unibyte data))) |