]> git.eshelyaron.com Git - emacs.git/commit
Make winner restore point in all windows that display a buffer
authorTino Calancha <f92capac@gmail.com>
Tue, 25 Jun 2019 13:42:17 +0000 (15:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 25 Jun 2019 13:42:17 +0000 (15:42 +0200)
commit0454bfd3313c069ca395f02ab6f377a17ff44965
tree208cb2709d91b7d02c25facdde8cf4c5f23825b4
parente195bbd95a35a5aeaf3689ff9e9293d350bb4056
Make winner restore point in all windows that display a buffer

* lisp/window.el (window--before-delete-windows): New defun.
(delete-window, delete-other-windows): Use it.
* lisp/winner.el (winner-set): Use marker in 'window-prev-buffers'
when available and different than the value returned by
'winner-get-point' (bug#23621).
lisp/window.el
lisp/winner.el