[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lambda an (interactive) function but not a command
From: |
Emanuel Berg |
Subject: |
Re: lambda an (interactive) function but not a command |
Date: |
Tue, 19 Mar 2019 02:29:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Michael Heerdegen wrote:
> 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.
You mean like this
(lambda (interactive) () (gnus-summary-mail-forward 4))
?
If so, it doesn't work
(wrong-type-argument commandp (lambda
(interactive) nil
(gnus-summary-mail-forward 4))) in
command-execute
Maybe you meant something else?
--
underground experts united
http://user.it.uu.se/~embe8573
- lambda an (interactive) function but not a command, Emanuel Berg, 2019/03/18
- Re: lambda an (interactive) function but not a command, Michael Heerdegen, 2019/03/18
- Re: lambda an (interactive) function but not a command,
Emanuel Berg <=
- Re: lambda an (interactive) function but not a command, Amin Bandali, 2019/03/18
- Re: lambda an (interactive) function but not a command, Michael Heerdegen, 2019/03/18
- Re: lambda an (interactive) function but not a command, Emanuel Berg, 2019/03/18
- quoting lambdas (was: Re: lambda an (interactive) function but not a command), Emanuel Berg, 2019/03/18
- Re: quoting lambdas, Michael Heerdegen, 2019/03/19