emacs-devel
[Top][All Lists]
Advanced

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

Re: smerge fix


From: Dave Love
Subject: Re: smerge fix
Date: 29 Aug 2002 23:52:27 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Richard Stallman <address@hidden> writes:

> Using defvar inside eval-when-compile is rather a nuisance.
> Whatever we recommend for preventing warnings about unknown
> variables, it should be more convenient than that.

[I don't see why it's more inconvenient than using it around `require',
and code that has to be portable to older versions and XEmacs will
need to carry on doing that.]

> What we actually recommend for the purpose is a plain defvar.

The example in (elisp)Tips uses eval-when-compile, and the text was
meant to caution explicitly to use it.

> The easiest thing to do is to say that simple (defvar foo)
> does not count as a definition.

When this came up before, you said that should not be done.  I think
you said that construct was intentionally used to declare variables
per se.




reply via email to

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