emacs-devel
[Top][All Lists]
Advanced

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

Re: CL function's docstrings


From: Stefan Monnier
Subject: Re: CL function's docstrings
Date: Thu, 19 May 2005 09:04:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> We never told users it was ok to use these as free variables, so we
> don't have to worry about that issue.  However, when changing the arg
> names of a function in CL that calls other functions in CL, it would
> be good to verify that the called functions don't use them as
> free variables.

> (It would be unclean to use them that way without defvar'ing them.)

Defvaring is not necessary in cases such as:

   (let ((nondefvarred-variable 0))
     (mapcar* (lambda (x) (incf nondefvarred-variable))
              somelist))


-- Stefan




reply via email to

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