]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove duplication of vc-sccs-registered definition
authorGlenn Morris <rgm@gnu.org>
Sat, 29 Sep 2012 23:21:57 +0000 (16:21 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 29 Sep 2012 23:21:57 +0000 (16:21 -0700)
* 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.

lisp/ChangeLog
lisp/vc/vc-sccs.el

index 072fb1bd1f41ec4c573dfbc7618516fe577e8022..f567369b46bead8652493e3b680ae98af73ed64f 100644 (file)
@@ -1,5 +1,8 @@
 2012-09-29  Glenn Morris  <rgm@gnu.org>
 
+       * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
+       the full definition in loaddefs, rather than duplicating it.
+
        * help-macro.el (three-step-help): No need to autoload defcustom.
 
        * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
index 82f30b509ffccbc1e574e8d96420c261cf2b004a..026aab1c41224be8e04e28d3c028fa624df5971d 100644 (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."