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

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

Re: Placement of list within an interactive clause


From: carlmarcos
Subject: Re: Placement of list within an interactive clause
Date: Fri, 15 Jul 2022 00:31:50 +0200 (CEST)

Jul 14, 2022, 20:30 by help-gnu-emacs@gnu.org:

>> When using ` (interactive (list (if condition (body))))', would the commands
>> in the body of the if statement form part of the list? Does the same apply
>>
>
> I think you're jumping ahead of yourself because you don't seem to have
> a good grasp of how Lisp works (this question has nothing to do with
> `interactive`).
>
> Commands don't "form part" of lists.  Lists contain values (and are
> themselves values) and commands manipulate (and return) values when
> they're evaluated.
>
> Maybe going through the "Introduction to Emacs Lisp" (see "Help => More
> Manual => Introduction to Emacs Lisp" in the menu) will be helpful.
>
>  Stefan
>
Can you make clear what sections should I read to answer my question?




reply via email to

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