]> git.eshelyaron.com Git - emacs.git/commit
Change xref-find-apropos to pass PATTERN to backend verbatim
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 1 Jun 2020 01:44:33 +0000 (04:44 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 1 Jun 2020 02:28:43 +0000 (05:28 +0300)
commitf92925864613035c2e627862433112b12cf0d6dd
tree6b53171c2e706c7cac34896121bd4a9c5a78fa66
parent43caa9680b0d000014b4b9004389b7b193a51629
Change xref-find-apropos to pass PATTERN to backend verbatim

* lisp/progmodes/xref.el (xref-backend-apropos): Rename this
generic's second arg to PATTERN, to clarify that it should be
handled entirely in the backend, with no pre-processing by the
command.
(xref-find-apropos): Update accordingly, but keep compatibility
with backends in older Emacs versions.
(xref-apropos-regexp): Extract from xref-find-apropos.

* lisp/progmodes/etags.el (xref-backend-apropos): Use it here.

* lisp/progmodes/elisp-mode.el (xref-backend-apropos): And here.
lisp/progmodes/elisp-mode.el
lisp/progmodes/etags.el
lisp/progmodes/xref.el