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

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

Refer to List of Arguments in Emacs Lisp Function


From: Alexander Shukaev
Subject: Refer to List of Arguments in Emacs Lisp Function
Date: Thu, 13 Nov 2014 09:02:14 +0100

Hello,

I can't find whether there is a possibility to refer to the whole list of
arguments of a function in Emacs Lisp. For example:

(defun move (x y z)
  (apply do-move (args))

What I mean by (args) primitive here is a list (x y z). This use case
illustrates usefulness of such a primitive, i.e. forwarding of arguments to
another internal call without a need to rewrite them by hand. (length
(args)) might be useful in some cases too. Is there anything like that in
Emacs Lisp already?


reply via email to

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