Subject: Re: bug#15940: 24.3.50; doc string of `lwarn' refers to undefined variables

From: Eli Zaretskii <[email-masked]>
Date: Sat, 08 Feb 2014 11:11:48 +0200

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Fri, 07 Feb 2014 19:13:29 -0800
> Cc: [email-masked]
> 
> Drew Adams <[email-masked]> writes:
> 
> > C-h f lwarn
> >
> > The doc string says:
> >
> > "(but see `warning-minimum-level' and `warning-minimum-log-level')"
> >
> > That's impossible, before warning.el has been loaded - the variables are
> > undefined.
> 
> Yeah, it's unfortunate that autoloaded functions can't really refer to
> other variables from its "home package" in the help system.
> 
> Would it make sense for the help system to always load the package an
> autoloaded function is defined in?  Especially if the doc string refers
> to other `...' items?

Why not simply auto-load those variables, especially if the doc string
refers to them?