# HG changeset patch # User Kim F. Storm # Date 1166520285 0 # Node ID cf3db92fe9272641ffa2475d3b3328d81c76ffdb # Parent 53b637f954f221801bd45f740a66b96745c97a11 *** empty log message *** diff -r 53b637f954f2 -r cf3db92fe927 etc/NEWS --- a/etc/NEWS Tue Dec 19 09:14:00 2006 +0000 +++ b/etc/NEWS Tue Dec 19 09:24:45 2006 +0000 @@ -5517,10 +5517,16 @@ ** Major mode mechanism changes: +++ -*** `set-auto-mode' now gives the interpreter magic line (if present) -precedence over the file name. Likewise an ` + + * files.el (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. + 2006-12-19 Michael Albinus * net/tramp.el (tramp-methods): Introduce new method `scpc'. diff -r 53b637f954f2 -r cf3db92fe927 man/ChangeLog --- a/man/ChangeLog Tue Dec 19 09:14:00 2006 +0000 +++ b/man/ChangeLog Tue Dec 19 09:24:45 2006 +0000 @@ -1,3 +1,8 @@ +2006-12-19 Kim F. Storm + + * major.texi (Choosing Modes): Describe match-function elements for + magic-mode-alist. + 2006-12-19 Michael Albinus * tramp.texi (External transfer methods): Describe new method `scpc'.