]> git.eshelyaron.com Git - emacs.git/commit
Don't assume term-current-row cache is valid (Bug#31193)
authorNoam Postavsky <npostavs@gmail.com>
Tue, 17 Apr 2018 23:17:18 +0000 (19:17 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 18 Apr 2018 11:33:27 +0000 (07:33 -0400)
commitb89ff0efdb65e9febe4c3ed2586a48a2b42233aa
tree48df43e55ab689afffcbf818a770f747e85a4eb3
parent326a296fed986a01677d7c2a37557f5589f5f7d2
Don't assume term-current-row cache is valid (Bug#31193)

* lisp/term.el (term-down): Call `term-current-row' instead of
directly accessing the variable `term-current-row.  Following a resize
of the terminal's window, `term-current-row' is reset to nil, so it is
not safe to assume it is a number.
lisp/term.el