From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/function-forms.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 devdocs/elisp/function-forms.html (limited to 'devdocs/elisp/function-forms.html') diff --git a/devdocs/elisp/function-forms.html b/devdocs/elisp/function-forms.html new file mode 100644 index 00000000..cae19311 --- /dev/null +++ b/devdocs/elisp/function-forms.html @@ -0,0 +1,8 @@ +

Evaluation of Function Forms

If the first element of a list being evaluated is a Lisp function object, byte-code object or primitive function object, then that list is a function call. For example, here is a call to the function +:

(+ 1 x)
+
+

The first step in evaluating a function call is to evaluate the remaining elements of the list from left to right. The results are the actual argument values, one value for each list element. The next step is to call the function with this list of arguments, effectively using the function apply (see Calling Functions). If the function is written in Lisp, the arguments are used to bind the argument variables of the function (see Lambda Expressions); then the forms in the function body are evaluated in order, and the value of the last body form becomes the value of the function call.

+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Function-Forms.html +

+
-- cgit v1.2.3