summaryrefslogtreecommitdiff
path: root/lisp/international/mule.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-07-21 09:54:09 +0000
committerRichard M. Stallman <rms@gnu.org>2003-07-21 09:54:09 +0000
commit66643502dd8b370d08c01c1a1878c411138d25c6 (patch)
tree2bc52f3c3a32e44ec60c4edbcd0588f48fa8119b /lisp/international/mule.el
parent763dbe6baf522c090a9db4ae9a58efa47339151e (diff)
downloademacs-66643502dd8b370d08c01c1a1878c411138d25c6.tar.gz
(auto-coding-functions): Doc fix.
Diffstat (limited to 'lisp/international/mule.el')
-rw-r--r--lisp/international/mule.el20
1 files changed, 12 insertions, 8 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 6fb078486d5..f37c3704cf2 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1513,14 +1513,18 @@ and the contents of `file-coding-system-alist'."
sgml-html-meta-auto-coding-function)
"A list of functions which attempt to determine a coding system.
-Each function in this list should be written to operate on the current
-buffer, but should not modify it in any way. It should take one
-argument SIZE, past which it should not search. If a function
-succeeds in determining a coding system, it should return that coding
-system. Otherwise, it should return nil.
-
-Any `coding:' tags present have a higher priority than the
-functions in this list."
+Each function in this list should be written to operate on the
+current buffer, but should not modify it in any way. The buffer
+will contain undecoded text of parts of the file. Each function
+should take one argument, SIZE, which says how many
+characters (starting from point) it should look at.
+
+If one of these functions succeeds in determining a coding
+system, it should return that coding system. Otherwise, it
+should return nil.
+
+If a file has a `coding:' tag, that takes precedence over these
+functions, so they won't be called at all."
:group 'files
:group 'mule
:type '(repeat function))