diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-04-14 16:51:39 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-04-16 16:24:53 +0200 |
commit | d53c999b4ad7bc1f730875ae3d1af9d11895807c (patch) | |
tree | fc24b03036db60dd2034976d2e47fe82cefc1c16 /lisp/vc/vc-cvs.el | |
parent | dc3d1628ecd7c0090c07480606e921a1f8f348a9 (diff) | |
download | emacs-d53c999b4ad7bc1f730875ae3d1af9d11895807c.tar.gz emacs-d53c999b4ad7bc1f730875ae3d1af9d11895807c.tar.bz2 emacs-d53c999b4ad7bc1f730875ae3d1af9d11895807c.zip |
Further vcs-cvs/rcs-responsible-p updates from master
* lisp/vc/vc-bzr.el (vc-bzr-responsible-p):
* lisp/vc/vc-sccs.el (vc-sccs-responsible-p):
* lisp/vc/vc-dav.el (vc-dav-responsible-p): Update doc string.
* lisp/vc/vc-rcs.el (vc-rcs-responsible-p):
* lisp/vc/vc-cvs.el (vc-cvs-responsible-p): Further fixes from
master.
* lisp/vc/vc-src.el (vc-src-responsible-p): Return the directory.
* lisp/vc/vc.el: Update comments.
Diffstat (limited to 'lisp/vc/vc-cvs.el')
-rw-r--r-- | lisp/vc/vc-cvs.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc/vc-cvs.el b/lisp/vc/vc-cvs.el index e4524db951b..8f06d5a847a 100644 --- a/lisp/vc/vc-cvs.el +++ b/lisp/vc/vc-cvs.el @@ -308,12 +308,12 @@ to the CVS command." (vc-switches 'CVS 'register))) (defun vc-cvs-responsible-p (file) - "Return non-nil if CVS thinks it is responsible for FILE." + "Return the directory if CVS thinks it is responsible for FILE." (let ((dir (if (file-directory-p file) file (file-name-directory file)))) (and (file-directory-p (expand-file-name "CVS" dir)) - dir))) + (file-name-directory (expand-file-name "CVS" dir))))) (defun vc-cvs-could-register (file) "Return non-nil if FILE could be registered in CVS. |