diff options
Diffstat (limited to 'devdocs/elisp/backward-compatibility.html')
| -rw-r--r-- | devdocs/elisp/backward-compatibility.html | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ + <h3 class="section">Backward Compatibility</h3> <p>Code compiled with older versions of <code>cl-defstruct</code> that doesn’t use records may run into problems when used in a new Emacs. To alleviate this, Emacs detects when an old <code>cl-defstruct</code> is used, and enables a mode in which <code>type-of</code> handles old struct objects as if they were records. </p> <dl> <dt id="cl-old-struct-compat-mode">Function: <strong>cl-old-struct-compat-mode</strong> <em>arg</em> +</dt> <dd><p>If <var>arg</var> is positive, enable backward compatibility with old-style structs. </p></dd> +</dl><div class="_attribution"> + <p class="_attribution-p"> + Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br> + <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Backward-Compatibility.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Backward-Compatibility.html</a> + </p> +</div> |
