[Top][All Lists]

[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: Thu, 14 Jul 2022 22:52:43 +0200 (CEST)

Jul 14, 2022, 20:30 by

>> 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.
My question was about how I can determine which parts are used to fill elements 
to the list.
Whether it is from the body of `if' and `let' clauses.  Perhaps I was not so 
articulate in the choice of words.

> Maybe going through the "Introduction to Emacs Lisp" (see "Help => More
> Manual => Introduction to Emacs Lisp" in the menu) will be helpful.
>  Stefan

reply via email to

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