diff options
| author | Glenn Morris | 2012-09-29 16:21:57 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-09-29 16:21:57 -0700 |
| commit | 7bd302ebcb9562d98abc1c6c63f42967fc46007e (patch) | |
| tree | 3503da83385db71a93dce0fa11538e04a35cc50e /lisp/vc | |
| parent | a123c57a3674c982f84098a076d6d99c54e1151a (diff) | |
| download | emacs-7bd302ebcb9562d98abc1c6c63f42967fc46007e.tar.gz emacs-7bd302ebcb9562d98abc1c6c63f42967fc46007e.zip | |
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.
Diffstat (limited to 'lisp/vc')
| -rw-r--r-- | lisp/vc/vc-sccs.el | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/vc/vc-sccs.el b/lisp/vc/vc-sccs.el index 82f30b509ff..026aab1c412 100644 --- a/lisp/vc/vc-sccs.el +++ b/lisp/vc/vc-sccs.el | |||
| @@ -107,13 +107,12 @@ For a description of possible values, see `vc-check-master-templates'." | |||
| 107 | ;;; State-querying functions | 107 | ;;; State-querying functions |
| 108 | ;;; | 108 | ;;; |
| 109 | 109 | ||
| 110 | ;; The autoload cookie below places vc-sccs-registered directly into | 110 | ;; The autoload cookie below places vc-rcs-registered directly into |
| 111 | ;; loaddefs.el, so that vc-sccs.el does not need to be loaded for | 111 | ;; loaddefs.el, so that vc-rcs.el does not need to be loaded for |
| 112 | ;; every file that is visited. The definition is repeated below | 112 | ;; every file that is visited. |
| 113 | ;; so that Help and etags can find it. | 113 | ;;;###autoload |
| 114 | 114 | (progn | |
| 115 | ;;;###autoload (defun vc-sccs-registered(f) (vc-default-registered 'SCCS f)) | 115 | (defun vc-sccs-registered (f) (vc-default-registered 'SCCS f))) |
| 116 | (defun vc-sccs-registered (f) (vc-default-registered 'SCCS f)) | ||
| 117 | 116 | ||
| 118 | (defun vc-sccs-state (file) | 117 | (defun vc-sccs-state (file) |
| 119 | "SCCS-specific function to compute the version control state." | 118 | "SCCS-specific function to compute the version control state." |