]> git.eshelyaron.com Git - emacs.git/commit
Honor tags-case-fold-search during xref identifer completion
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 17 Jan 2020 21:14:24 +0000 (00:14 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 17 Jan 2020 21:23:46 +0000 (00:23 +0300)
commite898442be343588c2be9638b1684856dbc898ab9
tree46e56a5a9190e8f69608fa36a0f9e4b66f6d3c7d
parent4df0c1c6c4627e83ba3b2a76ce618af6ef180a57
Honor tags-case-fold-search during xref identifer completion

* etc/NEWS: New entry.

* lisp/progmodes/etags.el (tags-case-fold-search):
Mark as safe-local.
(find-tag--completion-ignore-case):
Extract from tags-completion-at-point-function, find-tag-tag and
etags--xref-find-definitions.
(xref-backend-identifier-completion-ignore-case):
New method. Use it here as well.

* lisp/progmodes/xref.el
(xref-backend-identifier-completion-ignore-case): New generic.
(xref--read-identifier): Use it here.
etc/NEWS
lisp/progmodes/etags.el
lisp/progmodes/xref.el