help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Idiomatic way to avoid unused lexical variable in ‘dotimes’ or ‘doli


From: Stefan Monnier
Subject: Re: Idiomatic way to avoid unused lexical variable in ‘dotimes’ or ‘dolist’?
Date: Tue, 26 Mar 2024 18:30:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> 1. Is there an idiom in Emacs Lisp for writing this that
>    eliminates this warning?

    (dotimes (_ 100)
      (insert "I will not obey absurd orders\n"))

Or any other var name that starts with an underscore.


        Stefan




reply via email to

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