On 12/12/06, Miles Bader <[EMAIL PROTECTED]> wrote:

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...

Ah. I wasn't aware, because on Windows machines, "emacs TEST.JPEG"
opens it in image mode.

If .JPG/.JPEG is frequent, perhaps we should add it to
`auto-mode-alist', then. Or do this:

(push '("^\xFF\xD8\xFF\xE0\x00\x10JFIF" . image-mode)
      magic-mode-alist)

                   /L/e/k/t/u


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

Reply via email to