Keep point when switching from and to *terminal* buffer
commit528997daa15d6e864f4f7119fe073fe37ab4c685
authorEli Zaretskii <eliz@gnu.org>
Sat, 15 Oct 2016 13:53:36 +0000 (15 16:53 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 Oct 2016 13:53:36 +0000 (15 16:53 +0300)
treece112e6da5c5562e25ec2ae2c79c5882ebb55e08
parent21300051eb28b87703745dd0979d322da68d9ed5
Keep point when switching from and to *terminal* buffer

* lisp/term.el (term-reset-size): Don't reset the size if it
didn't change.  If the size did change, restore point after
adjusting the size.  (Bug#24465)
lisp/term.el