"Juanma Barranquero" <[EMAIL PROTECTED]> writes:
>> Adding this line to the default value of image-type-file-name-regexps
>> in lisp/image.el would help:
>>
>>     ("\\.JPE?G\\'" . jpeg)
>
> Perhaps the following patch would be more correct. After all, I don't
> think it will be common to have files with extensions .PNG, .TIFF,
> .BMP, etc. which are not images.
...
> --- lisp/image.el     21 Apr 2006 20:56:06 -0000      1.63
> +++ lisp/image.el     12 Dec 2006 10:59:47 -0000
> @@ -271,4 +271,5 @@
>   (let ((types image-type-file-name-regexps)
> +     (case-fold-search t)

Thought that's probably a reasoanble change, but it doesn't suffice in
this case -- image-type-from-file-name is not called except when
specifically dealing with an image, and Emacs never gets that far unless
auto-mode-alist tells it to...

-Miles
-- 
`The suburb is an obsolete and contradictory form of human settlement'


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to