]> git.eshelyaron.com Git - emacs.git/commit
Handle completely undecoded input in term (Bug#29918)
authorNoam Postavsky <npostavs@gmail.com>
Wed, 17 Jul 2019 11:20:20 +0000 (07:20 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 21 Jul 2019 01:35:21 +0000 (21:35 -0400)
commit150bdfe43acde8423612cbff4eafbbb88878b497
treecde38dfb7a9bb330cb718ebd893876e7b15f8c7c
parent021f32cca1b9082e7219b06aee28c00c4323a72a
Handle completely undecoded input in term (Bug#29918)

* lisp/term.el (term-emulate-terminal): Avoid errors if the whole
decoded string is eight-bit characters.  Don't attempt to save the
string for next iteration in that case.
* test/lisp/term-tests.el (term-decode-partial)
(term-undecodable-input): New tests.
lisp/term.el
test/lisp/term-tests.el