[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs/lisp image.el
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] emacs/lisp image.el |
Date: |
Mon, 31 Aug 2009 19:49:50 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>> Then we should perhaps obsolete `image-jpeg-p' (which is not used
>> anymore in the sources).
>>
>> Currently it does what its docstring says, but there's some of a
>> mismatch with the name (which seems to imply more generality); also it
>> is not clear what purpose does serve a function to detect just
>> JFIF/Exif JPEGs. And generalizing it would turn it into a trivial
>> two-liner.
> Gerd, do you remember the original rationale for image-jpeg-p?
I have a the vague impression that it's linked to the long discussion we
had about safety and other such things linked to the use of magic-* in
preference to auto-mode-alist, so we wanted to avoid false positives.
Stefan