]> git.eshelyaron.com Git - emacs.git/commit
Document that {en,de}code-coding-string preserve match data
authorMattias Engdegård <mattiase@acm.org>
Thu, 28 May 2020 14:37:27 +0000 (16:37 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 28 May 2020 14:58:57 +0000 (16:58 +0200)
commit2bdb2cd10d08a1d9c9a187c7d967fdc64b8e6743
tree4fc24048cdf3148f3b94fe51bb30531f9fd37896
parent4939beacb33ea91cd35e18fa7d43a4392d47f6f4
Document that {en,de}code-coding-string preserve match data

* lisp/international/mule.el (define-coding-system):
Require :pre-write-conversion and :post-read-conversion functions
to leave the match data untouched.
* src/coding.c (Fdecode_coding_string, Fencode_coding_string):
Document functions as match-data-preserving.

Suggested by Stefan Monnier (see bug#41445).
lisp/international/mule.el
src/coding.c