changeset 48263:b05233e8524d

(vc-rcs-registered): Handle the autoload cookie so that the definition is found by `find-function-search-for-symbol' and etags.
author Markus Rost <rost@math.uni-bielefeld.de>
date Tue, 12 Nov 2002 19:46:47 +0000
parents 1ef1bf10c03c
children 63fc09a69c40
files lisp/vc-rcs.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-rcs.el	Tue Nov 12 16:46:19 2002 +0000
+++ b/lisp/vc-rcs.el	Tue Nov 12 19:46:47 2002 +0000
@@ -5,7 +5,7 @@
 ;; Author:     FSF (see vc.el for full credits)
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 
-;; $Id: vc-rcs.el,v 1.28 2002/10/08 15:33:18 monnier Exp $
+;; $Id: vc-rcs.el,v 1.29 2002/10/08 20:23:36 monnier Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -99,8 +99,9 @@
 ;;; State-querying functions
 ;;;
 
-;;;###autoload
-(progn (defun vc-rcs-registered (f) (vc-default-registered 'RCS f)))
+;;; The definition should be at beginning of line (for Help and etags).
+;;;###autoload(defun vc-rcs-registered (f) (vc-default-registered 'RCS f))
+(defun vc-rcs-registered (f) (vc-default-registered 'RCS f))
 
 (defun vc-rcs-state (file)
   "Implementation of `vc-state' for RCS."