emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] trunk r113896: Declare external variables.


From: Michael Albinus
Subject: Re: [Emacs-diffs] trunk r113896: Declare external variables.
Date: Fri, 16 Aug 2013 09:34:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> +(eval-when-compile
>> +  (defvar directory-sep-char)
>> +  (defvar dired-move-to-filename-regexp))
>
> You don't want to "eval" those defvars, since evaluating such a defvar is
> mostly a no-op.  So don't put them inside eval-when-compile.

But it doesn't hurt, does it?

I've written it this way for didactic purposes: it reminds me what it is
good for (byte-compiler!).

>         Stefan

Best regards, Michael.



reply via email to

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