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

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

Re: lambda an (interactive) function but not a command


From: Michael Heerdegen
Subject: Re: lambda an (interactive) function but not a command
Date: Tue, 19 Mar 2019 02:39:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Emanuel Berg <address@hidden> writes:

> You mean like this
>
>     (lambda (interactive) () (gnus-summary-mail-forward 4))
>
> ?

No,

  (lambda () (interactive) (gnus-summary-mail-forward 4))

please.  Syntax is analogue to that of `defun': argument list comes
first.  See the docstring of `lambda' :-)


Michael.



reply via email to

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