]> git.eshelyaron.com Git - emacs.git/commit
Protect against killed buffers in term-emulate-terminal
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 5 Feb 2021 09:13:23 +0000 (10:13 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 5 Feb 2021 09:13:23 +0000 (10:13 +0100)
commit9730575f3a2599be0a4f9c3d1ef5321bf1294e93
tree5bdfcf427c82d27a83dc11d5b4286e6b2ed21efe
parent7016db933cd529c3cbc157b126dc17df8f2ff165
Protect against killed buffers in term-emulate-terminal

* lisp/term.el (term-emulate-terminal): Ensure that the buffer is
still alive before selecting it (bug#46323).  This avoids an error
when saying `C-x k' in an ansi-term buffer.
lisp/term.el