summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-cvs.el
diff options
context:
space:
mode:
authorXue Fuqiao <xfq.free@gmail.com>2013-09-20 13:39:53 +0800
committerXue Fuqiao <xfq.free@gmail.com>2013-09-20 13:39:53 +0800
commit98ccf24eab43a7434108cc6a5300e777356557e3 (patch)
tree88ab975a4f263681ef2fdc8000b7f0ac3caa23eb /lisp/vc/vc-cvs.el
parentf5f0132bc9cfc037fa6a22983061704748d4091f (diff)
downloademacs-98ccf24eab43a7434108cc6a5300e777356557e3.tar.gz
Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2013-09-20 Xue Fuqiao <xfq.free@gmail.com> * lisp/vc/pcvs.el (cvs-mode-ignore): * lisp/vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore): Rename cvs-append-to-ignore to vc-cvs-append-to-ignore. If/when someone complains about her package calling that function we can add an obsolete alias at that point.
Diffstat (limited to 'lisp/vc/vc-cvs.el')
-rw-r--r--lisp/vc/vc-cvs.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/vc/vc-cvs.el b/lisp/vc/vc-cvs.el
index 11a30991391..57e23aba4d9 100644
--- a/lisp/vc/vc-cvs.el
+++ b/lisp/vc/vc-cvs.el
@@ -1228,10 +1228,9 @@ is non-nil."
(defun vc-cvs-ignore (file &optional _directory _remove)
"Ignore FILE under CVS."
- (cvs-append-to-ignore (file-name-directory file) file))
+ (vc-cvs-append-to-ignore (file-name-directory file) file))
-;; FIXME This should be in the vc-cvs- namespace if it is to live here.
-(defun cvs-append-to-ignore (dir str &optional old-dir)
+(defun vc-cvs-append-to-ignore (dir str &optional old-dir)
"In DIR, add STR to the .cvsignore file.
If OLD-DIR is non-nil, then this is a directory that we don't want
to hear about anymore."