Remove duplication of vc-sccs-registered definition

* lisp/vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
the full definition in loaddefs, rather than duplicating it.
Cf vc-rcs-registered.
This commit is contained in:
Glenn Morris 2012-09-29 16:21:57 -07:00
parent a123c57a36
commit 7bd302ebcb
2 changed files with 9 additions and 7 deletions

View file

@ -107,13 +107,12 @@ For a description of possible values, see `vc-check-master-templates'."
;;; State-querying functions
;;;
;; The autoload cookie below places vc-sccs-registered directly into
;; loaddefs.el, so that vc-sccs.el does not need to be loaded for
;; every file that is visited. The definition is repeated below
;; so that Help and etags can find it.
;;;###autoload (defun vc-sccs-registered(f) (vc-default-registered 'SCCS f))
(defun vc-sccs-registered (f) (vc-default-registered 'SCCS f))
;; The autoload cookie below places vc-rcs-registered directly into
;; loaddefs.el, so that vc-rcs.el does not need to be loaded for
;; every file that is visited.
;;;###autoload
(progn
(defun vc-sccs-registered (f) (vc-default-registered 'SCCS f)))
(defun vc-sccs-state (file)
"SCCS-specific function to compute the version control state."