Fix replacing a match with a shorter string
commitbc2cec6b205da46492736e079321f4f4ed41a782
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 15 Nov 2015 03:59:34 +0000 (15 05:59 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 15 Nov 2015 04:32:13 +0000 (15 06:32 +0200)
treeedc1d77909592089a830e96d884561fdaf3e377f
parentd24e7833e56eb9ce8731975518da0c7fda3d00f2
Fix replacing a match with a shorter string

In effect, partially reverting fe973fc.

* lisp/progmodes/xref.el (xref-query-replace): Store the end
of each match as a marker again, instead of length.
(xref--query-replace-1): Update accordingly.
lisp/progmodes/xref.el