]> git.eshelyaron.com Git - emacs.git/commit
(magic-mode-alist): Allow matching file type by
authorKim F. Storm <storm@cua.dk>
Tue, 19 Dec 2006 09:04:30 +0000 (09:04 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 19 Dec 2006 09:04:30 +0000 (09:04 +0000)
commit10ffa2a1cefca36dd67ef7cf4dfa1e7b143e87d3
treeccb15ae73c4761bee4877f6d5dbf83a0f11d6edd
parentbb8792de32d885dbcc0cb6850e1414b5df486c3a
(magic-mode-alist): Allow matching file type by
calling a function at bob.  Check for image types by calling
image-type-from-buffer.  Suggested by Juanma Barranquero.
(set-auto-mode): Do it.
lisp/files.el