Escape dash in xref rgrep regexp
commit8ba236e772b64d0bb021aa691bd7eacf4b7f3ae4
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 29 Jan 2017 08:41:32 +0000 (29 10:41 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 29 Jan 2017 21:01:42 +0000 (29 23:01 +0200)
tree9c6a6389da74bdb5cffe5b4c6ae56fe646bc5c67
parent52feecd3c71716ca5dbade0e8e6ae2f8ebf46e54
Escape dash in xref rgrep regexp

* lisp/progmodes/xref.el (xref-collect-matches): Escape dash
in REGEXP if it's the first character.
lisp/progmodes/xref.el