aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters2002-05-21 21:15:43 +0000
committerColin Walters2002-05-21 21:15:43 +0000
commit1d83df136ee7413f061139d613009df871f3a638 (patch)
tree5f97a9ef85bcf16759dc01326e9980e75d731aff
parentd9f6dfe6e70e5d344e5e786b43010c30a16737a3 (diff)
downloademacs-1d83df136ee7413f061139d613009df871f3a638.tar.gz
emacs-1d83df136ee7413f061139d613009df871f3a638.zip
(Recognize Coding): Note addition of `auto-coding-functions'.
-rw-r--r--man/mule.texi18
1 files changed, 10 insertions, 8 deletions
diff --git a/man/mule.texi b/man/mule.texi
index 32b7807ccb1..64461a4e6be 100644
--- a/man/mule.texi
+++ b/man/mule.texi
@@ -793,17 +793,19 @@ explicitly in the file, that overrides
793 793
794@vindex auto-coding-alist 794@vindex auto-coding-alist
795@vindex auto-coding-regexp-alist 795@vindex auto-coding-regexp-alist
796 The variables @code{auto-coding-alist} and 796@vindex auto-coding-functions
797@code{auto-coding-regexp-alist} are the strongest way to specify the 797 The variables @code{auto-coding-alist},
798coding system for certain patterns of file names, or for files 798@code{auto-coding-regexp-alist} and @code{auto-coding-functions} are
799containing certain patterns; these variables even override 799the strongest way to specify the coding system for certain patterns of
800@samp{-*-coding:-*-} tags in the file itself. Emacs uses 800file names, or for files containing certain patterns; these variables
801@code{auto-coding-alist} for tar and archive files, to prevent it 801even override @samp{-*-coding:-*-} tags in the file itself. Emacs
802uses @code{auto-coding-alist} for tar and archive files, to prevent it
802from being confused by a @samp{-*-coding:-*-} tag in a member of the 803from being confused by a @samp{-*-coding:-*-} tag in a member of the
803archive and thinking it applies to the archive file as a whole. 804archive and thinking it applies to the archive file as a whole.
804Likewise, Emacs uses @code{auto-coding-regexp-alist} to ensure that 805Likewise, Emacs uses @code{auto-coding-regexp-alist} to ensure that
805RMAIL files, whose names in general don't match any particular pattern, 806RMAIL files, whose names in general don't match any particular
806are decoded correctly. 807pattern, are decoded correctly. One of the builtin
808@code{auto-coding-functions} detects the encoding for XML files.
807 809
808 If Emacs recognizes the encoding of a file incorrectly, you can 810 If Emacs recognizes the encoding of a file incorrectly, you can
809reread the file using the correct coding system by typing @kbd{C-x 811reread the file using the correct coding system by typing @kbd{C-x