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

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

Re: run-with-timer does not display message


From: Stefan Monnier
Subject: Re: run-with-timer does not display message
Date: Sat, 19 Jul 2014 13:08:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> I don't think Stefan meant backtick-type of quoting.  He meant this:

>> M-: (run-with-timer 5 nil '(lambda () (message "hello")))
>                             ^^^^^^^^

Indeed.  Of course, it's also good to avoid backquoting lambdas
(typically by using lexical-binding instead), but I'm focusing on trying
to kill the nasty '(lambda ...) habit that people keep reproducing all
over the place because it appears in so many examples.


        Stefan




reply via email to

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