]> code.delx.au - gnu-emacs/commit
Add `project-ignores'
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 12 Jul 2015 14:18:09 +0000 (17:18 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 12 Jul 2015 14:19:08 +0000 (17:19 +0300)
commit62d5d46551c2adca780d5da1e58ea7f37d6fb933
tree156727f3c45ff8c7e3fd7ec3d5a1a80b35ab39b2
parent714f7313f7e2043cd128bf6730c5bb2e5263b3ec
Add `project-ignores'

* lisp/progmodes/project.el (project-ignores): New generic
function, and an implementation for the VC project type.

* lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
variant of rgrep-default-command that handles a generic list of
ignores.
(xref-collect-matches): Use it, and pass through to it the value
of the newly added argument.
(xref-find-regexp): Handle ignored paths within the project.
Remove outdated comment.

* lisp/vc/vc.el (vc-default-ignore-completion-table):
Skip the comments and the empty lines.
lisp/progmodes/elisp-mode.el
lisp/progmodes/project.el
lisp/progmodes/xref.el
lisp/vc/vc.el