]> git.eshelyaron.com Git - emacs.git/commit
Support reverting in xref-find-definitions results as well
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 24 May 2019 21:11:41 +0000 (00:11 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 24 May 2019 21:43:44 +0000 (00:43 +0300)
commite309818ecee190727d85c6f3f878c99445d06cfe
treeb2625500ab11f51f12d6c1781a8678f06c60412f
parent35f305652c9eacb2e75fa6bcd784247d4de939fb
Support reverting in xref-find-definitions results as well

* lisp/progmodes/xref.el (xref--show-xref-buffer): Expect the
first argument to always be a function (bug#35702).  Handle a
FETCHED-XREFS entry in ALIST.
(xref--show-defs-buffer): Update accordingly.
(xref--create-fetcher): Extract from xref--find-xrefs.
(xref--find-definitions): Use it.
lisp/progmodes/xref.el