emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c0a0351: Obsolete image-jpeg-p


From: Robert Pluim
Subject: [Emacs-diffs] master c0a0351: Obsolete image-jpeg-p
Date: Thu, 31 May 2018 11:15:00 -0400 (EDT)

branch: master
commit c0a0351249c1e6a9307224d8337ff8916f4cf138
Author: Robert Pluim <address@hidden>
Commit: Robert Pluim <address@hidden>

    Obsolete image-jpeg-p
    
    * lisp/image.el (image-jpeg-p): Declare obsolete.
---
 lisp/image.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/image.el b/lisp/image.el
index e084fe3..8d12b68 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]