[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dotimes var comiler warning
From: |
Emanuel Berg |
Subject: |
Re: dotimes var comiler warning |
Date: |
Fri, 02 Dec 2016 00:08:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>>> when employing a form
>>>
>>> (dotimes (i erg)
>>>
>>> ...do-something
>>>
>>>
>>> Compiler sends a warning "Unused lexical variable
>>> ‘i’ - whilst seems no way to leave out such a var.
>>>
>>> Worth a bug-report? If none exists yet, I'm for
>>> it. FWIW, there is a FIXME comment in the source
>>> code already.
>>
>> Yes, you can probably use `_' to suppress the
>> warning, but I always wondered why something called
>> like this requires a variable to be specified
>> (mandatorily) at all.
>>
>> Michael.
>
> Done, thanks. It's #25017
What about:
(cl-loop do (message "High Five") repeat 4)
?
--
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
- so far: 26 Blogomatic articles -
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: dotimes var comiler warning,
Emanuel Berg <=