]> git.eshelyaron.com Git - emacs.git/commit
Handle "empty line" regexp in xref searches
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 3 May 2016 22:59:29 +0000 (01:59 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 3 May 2016 22:59:29 +0000 (01:59 +0300)
commit4d8fd9cf338cf9b5dfc613657adfeabff2d9c14e
tree6878332f280455e3a9a513246b1eccfcea04fc97
parentf559b374a30f3615261f7a902fc3428cac6289f4
Handle "empty line" regexp in xref searches

* lisp/progmodes/xref.el (xref--collect-matches-1): Stop after one
match if re-search-forward doesn't move point (bug#23426).

* test/automated/xref-tests.el
(xref-collect-matches-finds-an-empty-line-regexp-match):
Uncomment test.
lisp/progmodes/xref.el
test/automated/xref-tests.el