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/generalized-variables.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 devdocs/elisp/generalized-variables.html (limited to 'devdocs/elisp/generalized-variables.html') diff --git a/devdocs/elisp/generalized-variables.html b/devdocs/elisp/generalized-variables.html new file mode 100644 index 00000000..1f772601 --- /dev/null +++ b/devdocs/elisp/generalized-variables.html @@ -0,0 +1,16 @@ +

Generalized Variables

A generalized variable or place form is one of the many places in Lisp memory where values can be stored using the setf macro (see Setting Generalized Variables). The simplest place form is a regular Lisp variable. But the CARs and CDRs of lists, elements of arrays, properties of symbols, and many other locations are also places where Lisp values get stored.

Generalized variables are analogous to lvalues in the C language, where ‘x = a[i]’ gets an element from an array and ‘a[i] = x’ stores an element using the same notation. Just as certain forms like a[i] can be lvalues in C, there is a set of forms that can be generalized variables in Lisp.

+ + + + + + + +
+

+ 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/Generalized-Variables.html +

+
-- cgit v1.2.3