image.el already defines `image-type-header-regexps' and
    `image-type-from-buffer', so it seems wasteful to recreate that. It
    would be better IMHO to simply use `image-type-from-buffer' from
    `set-auto-mode'. Other than changes to docstrings and info files, the
    path is as simple as this, and works quite well.

That is smart.  Please install it.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to