1541 |
These bytes should include at least the first 1k of the file |
These bytes should include at least the first 1k of the file |
1542 |
and the last 3k of the file, but the middle may be omitted. |
and the last 3k of the file, but the middle may be omitted. |
1543 |
|
|
1544 |
It checks FILENAME against the variable `auto-coding-alist'. If |
The function checks FILENAME against the variable `auto-coding-alist'. |
1545 |
FILENAME doesn't match any entries in the variable, it checks the |
If FILENAME doesn't match any entries in the variable, it checks the |
1546 |
contents of the current buffer following point against |
contents of the current buffer following point against |
1547 |
`auto-coding-regexp-alist'. If no match is found, it checks for a |
`auto-coding-regexp-alist'. If no match is found, it checks for a |
1548 |
`coding:' tag in the first one or two lines following point. If no |
`coding:' tag in the first one or two lines following point. If no |
1549 |
`coding:' tag is found, it checks for local variables list in the last |
`coding:' tag is found, it checks any local variables list in the last |
1550 |
3K bytes out of the SIZE bytes. Finally, if none of these methods |
3K bytes out of the SIZE bytes. Finally, if none of these methods |
1551 |
succeed, then it checks to see if any function in |
succeed, it checks to see if any function in `auto-coding-functions' |
1552 |
`auto-coding-functions' gives a match. |
gives a match. |
1553 |
|
|
1554 |
The return value is the specified coding system, |
The return value is the specified coding system, or nil if nothing is |
1555 |
or nil if nothing specified. |
specified. |
1556 |
|
|
1557 |
The variable `set-auto-coding-function' (which see) is set to this |
The variable `set-auto-coding-function' (which see) is set to this |
1558 |
function by default." |
function by default." |