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: Stefan Monnier
Subject: Re: Placement of list within an interactive clause
Date: Thu, 14 Jul 2022 14:34:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> Does it make difference where the list statement is placed?

Write the code the way you find most convenient.
The syntax is:

    (defun FOO (...)
      (interactive EXP)
      ...)

where EXP is *any* code whose evaluation returns a list of values.

In that case an interactive call to FOO will behave like (apply #'FOO EXP)


        Stefan




reply via email to

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