[Top][All Lists]

[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:17:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Emanuel Berg <address@hidden> writes:

> In my config file for the Gnus summary
> buffer [1] I have this [2]. What I wonder is,
> for the "F" key to invoke the
> `gnus-summary-followup-inline' function, for
> such a simple one-liner, why can't one use
> a lambda for that, i.e.
>     (lambda (interactive) (gnus-summary-mail-forward 4))

If you want this to work, you should add an argument list.  An
interactive lambda also needs one.  In the above function, (interactive)
is specified as argument list, so an interactive spec is missing and it
is not a command.


reply via email to

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