]> git.eshelyaron.com Git - emacs.git/commit
Fix the use of xref-window-local-history together with Xref buffer
authorDmitry Gutov <dmitry@gutov.dev>
Sun, 2 Mar 2025 03:22:56 +0000 (05:22 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 20:58:42 +0000 (21:58 +0100)
commitccf9990e1619fd52c86e828182f7a04b7a3fe9e6
tree95c68270d7767a7dbbf25bc2f6cc48032e54dfcc
parent0981a7840c6631462ec7eb9d3f4b86793d12df91
Fix the use of xref-window-local-history together with Xref buffer

* lisp/progmodes/xref.el (xref--push-markers): Temporarily
restore the selected window as well, using the value from the
new argument (bug#76565).  Update both callers.

(cherry picked from commit 625ed68aeaadce4df7bdfd8c08ddfc8ed4f9b01a)
lisp/progmodes/xref.el