Function: list
list is a function defined in alloc.c.
Signature
(list &rest OBJECTS)
Documentation
Return a newly created list with specified arguments as elements.
Allows any number of arguments, including zero.
Other relevant functions are documented in the list group.
Probably introduced at or before Emacs version 1.2.
Shortdoc
;; list
(list 1 2 3)
=> (1 2 3)
Aliases
cl-values
hydra--imf
values(var)/values(fun) (obsolete since 27.1)
Source Code
// Defined in /usr/src/emacs/src/alloc.c
{
register Lisp_Object val;
val = Qnil;
while (nargs > 0)
{
nargs--;
val = Fcons (args[nargs], val);
}
return val;
}