Mercurial > emacs
comparison etc/NEWS @ 74742:cf3db92fe927
*** empty log message ***
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 19 Dec 2006 09:24:45 +0000 |
parents | 486c403b912b |
children | 15e2bb4df6d0 |
comparison
equal
deleted
inserted
replaced
74741:53b637f954f2 | 74742:cf3db92fe927 |
---|---|
5515 of multiline constructs so that such constructs get properly recognized. | 5515 of multiline constructs so that such constructs get properly recognized. |
5516 | 5516 |
5517 ** Major mode mechanism changes: | 5517 ** Major mode mechanism changes: |
5518 | 5518 |
5519 +++ | 5519 +++ |
5520 *** `set-auto-mode' now gives the interpreter magic line (if present) | 5520 *** New variable `magic-mode-alist' determines major mode for a file by |
5521 precedence over the file name. Likewise an `<?xml' or `<!DOCTYPE' | 5521 looking the file contents. It take precedence over `auto-mode-alist'. |
5522 declaration will give the buffer XML or SGML mode, based on the new | 5522 |
5523 variable `magic-mode-alist'. | 5523 +++ |
5524 *** An interpreter magic line (if present) takes precedence over the | |
5525 file name when setting the major mode. | |
5526 | |
5527 +++ | |
5528 *** XML or SGML major mode is selected when file starts with an `<?xml' | |
5529 or `<!DOCTYPE' declaration. | |
5524 | 5530 |
5525 +++ | 5531 +++ |
5526 *** Use the new function `run-mode-hooks' to run the major mode's mode hook. | 5532 *** Use the new function `run-mode-hooks' to run the major mode's mode hook. |
5527 | 5533 |
5528 +++ | 5534 +++ |