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

Record Functions

Function: recordp object +
+

This function returns t if object is a record.

(recordp #s(a))
+     ⇒ t
+
+
+
Function: record type &rest objects +
+

This function creates and returns a record whose type is type and remaining slots are the rest of the arguments, objects.

(record 'foo 23 [bar baz] "rats")
+     ⇒ #s(foo 23 [bar baz] "rats")
+
+
+
Function: make-record type length object +
+

This function returns a new record with type type and length more slots, each initialized to object.

(setq sleepy (make-record 'foo 9 'Z))
+     ⇒ #s(foo Z Z Z Z Z Z Z Z Z)
+
+
+
+

+ 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/Record-Functions.html +

+
-- cgit v1.2.3