autoload problem

Stephen J. Turnbull stephen at xemacs.org
Mon Jul 12 12:23:25 EDT 2010


Uwe Brauer writes:
 > Hello
 > 
 > I have modified 
 > the vc-rcs-checkin function: it now ask for a change of the
 > login.
 > The modified function I put vc-change-login.el
 > so I thought the following line
 > 
 > (autoload 'vc-rcs-checkin "vc-change-login.el" "Check the login" t)	
 > 
 > Would automatically use my new function but it does not,

It's a feature.  From the docstring for `autoload':

    If FUNCTION already has a non-void function definition that is not an
    autoload object, this function does nothing and returns nil.

This makes it reasonable to reload a file containing autoloads,
without worrying about what else it might drag in.



More information about the XEmacs-Beta mailing list