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

Backward Compatibility

Code compiled with older versions of cl-defstruct that doesn’t use records may run into problems when used in a new Emacs. To alleviate this, Emacs detects when an old cl-defstruct is used, and enables a mode in which type-of handles old struct objects as if they were records.

Function: cl-old-struct-compat-mode arg +

If arg is positive, enable backward compatibility with old-style structs.

+
+

+ 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/Backward-Compatibility.html +

+
-- cgit v1.2.3