]> git.eshelyaron.com Git - emacs.git/commit
Preserve window point in xref-find-definitions-other-window
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 5 Aug 2015 12:18:25 +0000 (15:18 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 5 Aug 2015 12:19:04 +0000 (15:19 +0300)
commitee50e62a44d18be697917e1ea708db1c06f590fb
tree480c9e1c04f5ab8cb6a4ccdaa7399c90d0f3a1ec
parent8dbae880947dc7c9f1e8a6be41d3ba18306c1aed
Preserve window point in xref-find-definitions-other-window

Fix the problem reported by Ingo Logmar in
http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
* lisp/progmodes/xref.el (xref--goto-char): Extract from
xref--goto-location.
(xref--pop-to-location): Use it. Replace xref--goto-location with
a direct xref-location-marker call.
(xref--show-location): Likewise.
(xref--display-position): Use xref--goto-char.
lisp/progmodes/xref.el