]> git.eshelyaron.com Git - emacs.git/commit
* lisp/mail/rfc2231.el (rfc2231-decode-encoded-string): Fix match data error
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Oct 2020 17:03:41 +0000 (13:03 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Oct 2020 17:03:41 +0000 (13:03 -0400)
commited9520b38e1fb8dc45a9eb4227ceb49387843de2
tree65654a63682b7e88f071a1294307c137a589e7de
parent4970e2c7ea1ec144f152829cb88416616b719d4a
* 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.
lisp/mail/rfc2231.el