diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-10-19 13:03:41 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2020-10-19 13:03:41 -0400 |
commit | ed9520b38e1fb8dc45a9eb4227ceb49387843de2 (patch) | |
tree | 65654a63682b7e88f071a1294307c137a589e7de /test/lisp/emacs-lisp/shadow-tests.el | |
parent | 4970e2c7ea1ec144f152829cb88416616b719d4a (diff) | |
download | emacs-ed9520b38e1fb8dc45a9eb4227ceb49387843de2.tar.gz emacs-ed9520b38e1fb8dc45a9eb4227ceb49387843de2.tar.bz2 emacs-ed9520b38e1fb8dc45a9eb4227ceb49387843de2.zip |
* lisp/mail/rfc2231.el (rfc2231-decode-encoded-string): Fix match data error
Get (match-string 3 string) earlier, in case `mm-charset-to-coding-system`
clobbers the match data.
Also, check that `string-match` succeeded before using its match data.
Diffstat (limited to 'test/lisp/emacs-lisp/shadow-tests.el')
0 files changed, 0 insertions, 0 deletions