Don't let window start override window point in `window-state-put' (Bug#24240)
commit413cd292f6f0b63e62e6a84b3f866f2d482a582a
authorAndreas Politz <politza@hochschule-trier.de>
Thu, 18 Aug 2016 08:27:05 +0000 (18 10:27 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 18 Aug 2016 08:27:05 +0000 (18 10:27 +0200)
tree7121d8cc71ad6daa5f872a14cdf46f5225619d25
parent0434f7609a0239206394280dc3e06854661be949
Don't let window start override window point in `window-state-put' (Bug#24240)

* lisp/window.el (window--state-put-2): Set 'noforce argument
when restoring a window's start position.  This avoids that the
effect of `set-window-point' gets overidden by that of
`set-window-start' (Bug#24240).
lisp/window.el