Add a second argument to project-ignores
commit543bb9bc2023fafdadf697e23484214daac95dee
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 1 Aug 2015 22:01:28 +0000 (2 01:01 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 1 Aug 2015 22:30:36 +0000 (2 01:30 +0300)
treec0abd684296a63de9e1366d1123575e330c001d6
parent08d65696c947b09d4c32606f279c3c2594e99e16
Add a second argument to project-ignores

* lisp/progmodes/project.el (project-ignores): Add a second
argument DIR.

* lisp/progmodes/project.el (project-ignores): Only include the VC
ignores if DIR is the VC root.

* lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
lisp/progmodes/elisp-mode.el
lisp/progmodes/project.el
lisp/progmodes/xref.el