diff options
author | Mattias Engdegård <mattiase@acm.org> | 2020-05-22 12:21:28 +0200 |
---|---|---|
committer | Mattias Engdegård <mattiase@acm.org> | 2020-05-27 16:29:43 +0200 |
commit | c5cf630ecd467fdcac13928f7e240cfc98cedc7a (patch) | |
tree | 874eb44ee930b78552765a2fb56d8ee4d1eea1c5 /lisp/emacs-lisp | |
parent | 0fc4989f34bdaf1bc443d05ece886ea91e7bc9cc (diff) | |
download | emacs-c5cf630ecd467fdcac13928f7e240cfc98cedc7a.tar.gz emacs-c5cf630ecd467fdcac13928f7e240cfc98cedc7a.tar.bz2 emacs-c5cf630ecd467fdcac13928f7e240cfc98cedc7a.zip |
Don't clobber match data in utf-8-hfs conversion (bug#41445)
Reported by Ture Pålsson.
* lisp/international/ucs-normalize.el
(ucs-normalize-hfs-nfd-post-read-conversion)
(ucs-normalize-hfs-nfd-pre-write-conversion):
Use save-match-data to avoid match data clobber in normalisation.
* test/lisp/international/ucs-normalize-tests.el
(ucs-normalize-save-match-data): New test.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions