Fix up autoloads in vc-rcs.el and vc-sccs.el.

This commit is contained in:
Simon Leinen 2014-11-26 13:10:26 -05:00 committed by Eric S. Raymond
parent 7e24ac11d4
commit 181b12e7fd
2 changed files with 6 additions and 2 deletions

View file

@ -229,6 +229,8 @@ For a description of possible values, see `vc-check-master-templates'."
(vc-rcs-fetch-master-state file)
(vc-file-getprop file 'vc-working-revision))))
(autoload 'vc-master-name "vc-filewise")
(defun vc-rcs-latest-on-branch-p (file &optional version)
"Return non-nil if workfile version of FILE is the latest on its branch.
When VERSION is given, perform check for that version."
@ -974,7 +976,7 @@ Uses `rcs2log' which only works for RCS and CVS."
nil t)
(replace-match "$\\1$"))))
(autoload 'vc-rename-master "vc")
(autoload 'vc-rename-master "vc-filewise")
(defun vc-rcs-rename-file (old new)
;; Just move the master file (using vc-rcs-master-templates).

View file

@ -174,6 +174,8 @@ For a description of possible values, see `vc-check-master-templates'."
(push (list frel state) result))))
(funcall update-function result)))
(autoload 'vc-master-name "vc-filewise")
(defun vc-sccs-working-revision (file)
"SCCS-specific version of `vc-working-revision'."
(with-temp-buffer
@ -471,7 +473,7 @@ Remaining arguments are ignored."
(goto-char (point-min))
(re-search-forward "%[A-Z]%" nil t)))
(autoload 'vc-rename-master "vc")
(autoload 'vc-rename-master "vc-filewise")
(defun vc-sccs-rename-file (old new)
;; Move the master file (using vc-rcs-master-templates).