]> git.eshelyaron.com Git - emacs.git/commit
Set last-coding-system-used upon ASCII conversion bypass (bug#40407)
authorMattias Engdegård <mattiase@acm.org>
Thu, 9 Apr 2020 14:19:14 +0000 (16:19 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 9 Apr 2020 14:20:15 +0000 (16:20 +0200)
commite18c24b35a7cf9bb1b91288b706fa448ed28a7c2
tree6fdab5cd6b6b8101f629bada4eeaea2e6303c6a3
parent50618cc30381521f0e16c7813d48d0e5c821a076
Set last-coding-system-used upon ASCII conversion bypass (bug#40407)

Spotted by Kazuhiro Ito.

* src/coding.c (code_convert_string):
Set Vlast_coding_system if appropriate.
* test/src/coding-tests.el (coding-nocopy-ascii): Add test.
src/coding.c
test/src/coding-tests.el