1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00

Some fixes for vc-ignore.

* lisp/vc/vc.el (vc-ignore): Rewrite.
(vc-default-ignore): New function.
(vc-default-ignore-completion-table): Use find-ignore-file.

* lisp/vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
* lisp/vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
* lisp/vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
Remove.  Most code moved to vc.el.

* doc/emacs/maintaining.texi (VC Ignore): Mention `vc-ignore' with prefix argument.
This commit is contained in:
Xue Fuqiao 2013-09-04 08:31:13 +08:00
parent 99191b89ff
commit 63191d9f20
9 changed files with 68 additions and 85 deletions

View file

@ -354,8 +354,7 @@ This is only possible if SVN is responsible for FILE's directory.")
(defun vc-svn-ignore (file &optional directory remove)
"Ignore FILE under Subversion.
If DIRECTORY is non-nil, the repository to use will be deduced by
DIRECTORY; if REMOVE is non-nil, remove FILE from ignored files."
FILE is a file wildcard, relative to the root directory of DIRECTORY."
(vc-svn-command t 0 file "propedit" "svn:ignore"))
(defun vc-svn-ignore-completion-table (file)