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

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

Re: Passing a list to an interactive function


From: Joost Kremers
Subject: Re: Passing a list to an interactive function
Date: Fri, 18 Dec 2020 12:49:52 +0100
User-agent: mu4e 1.5.7; emacs 27.1.50

On Fri, Dec 18 2020, pietru@caramail.com wrote:
> I mean, how do I define an interactive function that takes a list as argument?

Check out the interactive codes in the Elisp manual, if you haven't found those 
already:

(info "(elisp) Interactive Codes")

The only codes that would allow you to do what you want are "x" and "X", which
both read a Lisp object, the difference being that "X" also evaluates it.

-- 
Joost Kremers
Life has its moments



reply via email to

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