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:
parent
a123c57a36
commit
7bd302ebcb
2 changed files with 9 additions and 7 deletions
|
@ -1,5 +1,8 @@
|
||||||
2012-09-29 Glenn Morris <rgm@gnu.org>
|
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.
|
* help-macro.el (three-step-help): No need to autoload defcustom.
|
||||||
|
|
||||||
* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
|
* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
|
||||||
|
|
|
@ -107,13 +107,12 @@ For a description of possible values, see `vc-check-master-templates'."
|
||||||
;;; State-querying functions
|
;;; State-querying functions
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
;; The autoload cookie below places vc-sccs-registered directly into
|
;; The autoload cookie below places vc-rcs-registered directly into
|
||||||
;; loaddefs.el, so that vc-sccs.el does not need to be loaded for
|
;; loaddefs.el, so that vc-rcs.el does not need to be loaded for
|
||||||
;; every file that is visited. The definition is repeated below
|
;; every file that is visited.
|
||||||
;; so that Help and etags can find it.
|
;;;###autoload
|
||||||
|
(progn
|
||||||
;;;###autoload (defun vc-sccs-registered(f) (vc-default-registered 'SCCS f))
|
(defun vc-sccs-registered (f) (vc-default-registered 'SCCS f)))
|
||||||
(defun vc-sccs-registered (f) (vc-default-registered 'SCCS f))
|
|
||||||
|
|
||||||
(defun vc-sccs-state (file)
|
(defun vc-sccs-state (file)
|
||||||
"SCCS-specific function to compute the version control state."
|
"SCCS-specific function to compute the version control state."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue