[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: void variable

From: Kai Grossjohann
Subject: Re: void variable
Date: Mon, 26 Jul 2004 18:05:39 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     Actually, on second thought I am not that sure anymore.  Several
>     variables, that are important enough for people to want to bind them,
>     are not autoloaded.  The situation is potentially dangerous, as we
>     saw with wdired.  So we should warn about it _somewhere_.  Either the
>     manual or the docstrings or both.
> The manual should direct people to autoload variables used by
> autoloaded functions, if programs might want to bind them.

If foo.el defines a variable foo-var, and bar.el wishes to let-bind
this variable, then perhaps the manual should suggest the *caller*
(ie, bar.el) to require foo:

(require 'foo)

(defun bar-func ()
  (let ((foo-var ...))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]