]> code.delx.au - gnu-emacs/commit
Use save-excursion in xref-location-marker more
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 5 May 2016 01:28:14 +0000 (04:28 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 5 May 2016 01:28:14 +0000 (04:28 +0300)
commit1a4127dbd625ea64f535b3bd09844a99161290a6
tree41107e72880c4377b06f2505f3d2475ae7dc2151
parentab3ba912fc7b91b7b147ea36fabe461dc99a9fb8
Use save-excursion in xref-location-marker more

* lisp/progmodes/elisp-mode.el (xref-location-marker): Use
save-excursion, in order not to alter the value of point if the
buffer is currently open in the background (problem reported by
Robert Weiner).

* lisp/progmodes/etags.el (xref-location-marker): Same.
lisp/progmodes/elisp-mode.el
lisp/progmodes/etags.el