In switch-to-buffer optionally restore window point (Bug#4041).
authorMartin Rudalics <rudalics@gmx.at>
Wed, 10 Oct 2012 09:36:45 +0000 (11:36 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 10 Oct 2012 09:36:45 +0000 (11:36 +0200)
commit9d7f027b56081705edabb3e77bb7bd995ccc2fa2
tree24b517558cea350cc2db7796829dabf9d605429e
parent77e344e50a6ce7f211a7d820f87e2ab58093709d
In switch-to-buffer optionally restore window point (Bug#4041).

* window.el (switch-to-buffer-preserve-window-point): New option.
(switch-to-buffer): Obey
`switch-to-buffer-preserve-window-point' (Bug#4041).
lisp/ChangeLog
lisp/window.el