]> code.delx.au - gnu-emacs/blobdiff - lisp/vc/vc-cvs.el
Add missing custom :versions, plus small fixes
[gnu-emacs] / lisp / vc / vc-cvs.el
index 11a3099139162e3cdebd62f23486f80b4188669e..db3895ccbd13431cc4fee55f5598429bc9d1832f 100644 (file)
@@ -1226,12 +1226,15 @@ is non-nil."
                    table (lambda () (vc-cvs-revision-table (car files))))))
     table))
 
+(defun vc-cvs-find-admin-dir (file)
+  "Return the administrative directory of FILE."
+  (vc-find-root file "CVS"))
+
 (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."