summaryrefslogtreecommitdiff
path: root/lisp/international/mule.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-05-30 11:52:27 +0100
committerAndrea Corallo <akrl@sdf.org>2020-05-30 11:52:27 +0100
commiteeebbd5fcbdf2827689311b3751437670bfc2e22 (patch)
treeb0b6c946b5fc2743006a476d2df29025f2c57cc7 /lisp/international/mule.el
parent15c121ee0b5cbe005548eeba09dd54b145b2e258 (diff)
parentf42db4b6e1598c12924cce4bbe4d67e6d86b7963 (diff)
downloademacs-eeebbd5fcbdf2827689311b3751437670bfc2e22.tar.gz
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'lisp/international/mule.el')
-rw-r--r--lisp/international/mule.el25
1 files changed, 13 insertions, 12 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 363df13dfe6..5fb04bc464f 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -770,11 +770,12 @@ decoded by the coding system itself and before any functions in
`after-insert-functions' are called. This function is passed one
argument: the number of characters in the text to convert, with
point at the start of the text. The function should leave point
-unchanged, and should return the new character count. Note that
-this function should avoid reading from files or receiving text
-from subprocesses -- anything that could invoke decoding; if it
-must do so, it should bind `coding-system-for-read' to a value
-other than the current coding-system, to avoid infinite recursion.
+and the match data unchanged, and should return the new character
+count. Note that this function should avoid reading from files
+or receiving text from subprocesses -- anything that could invoke
+decoding; if it must do so, it should bind
+`coding-system-for-read' to a value other than the current
+coding-system, to avoid infinite recursion.
`:pre-write-conversion'
@@ -782,13 +783,13 @@ VALUE must be a function to call after all functions in
`write-region-annotate-functions' and `buffer-file-format' are
called, and before the text is encoded by the coding system
itself. This function should convert the whole text in the
-current buffer. For backward compatibility, this function is
-passed two arguments which can be ignored. Note that this
-function should avoid writing to files or sending text to
-subprocesses -- anything that could invoke encoding; if it
-must do so, it should bind `coding-system-for-write' to a
-value other than the current coding-system, to avoid infinite
-recursion.
+current buffer, and leave the match data unchanged. For backward
+compatibility, this function is passed two arguments which can be
+ignored. Note that this function should avoid writing to files
+or sending text to subprocesses -- anything that could invoke
+encoding; if it must do so, it should bind
+`coding-system-for-write' to a value other than the current
+coding-system, to avoid infinite recursion.
`:default-char'