1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 06:00:50 -08:00
emacs/doc
Stefan Monnier 2c68192c6b Backward compatibility with pre-existing struct instances.
* lisp/emacs-lisp/cl-lib.el (cl--old-struct-type-of): New function.
(cl-old-struct-compat-mode): New minor mode.

* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Pass `record' to
cl-struct-define to signal use of record objects.

* lisp/emacs-lisp/cl-preloaded.el (cl--struct-get-class,
cl-struct-define): Enable legacy defstruct compatibility.

* test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-old-struct,
old-struct): New tests.

* doc/lispref/elisp.texi, doc/lispref/records.texi: Document
`old-struct-compat'.
2017-04-04 08:23:46 +02:00
..
emacs Merge from origin/emacs-25 2017-03-19 12:34:04 -07:00
lispintro Allow occur command to operate on the region 2017-02-02 19:13:05 +09:00
lispref Backward compatibility with pre-existing struct instances. 2017-04-04 08:23:46 +02:00
man Merge from origin/emacs-25 2017-03-19 12:34:03 -07:00
misc Make EIEIO use records. 2017-04-04 08:23:46 +02:00