]> git.eshelyaron.com Git - emacs.git/commit
Deprecate copy-record in favor of copy-sequence
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 8 Apr 2017 01:54:40 +0000 (18:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 8 Apr 2017 01:54:40 +0000 (18:54 -0700)
commita2b3fea957440b8358d3632a4a05e41dee964b5d
treea6ef4cf0ba807dfad9ae91b4bfde1935dc999a5f
parenta614cd416c5dd71702428a008992589395a722fc
Deprecate copy-record in favor of copy-sequence

Since copy-sequence seems to be needed anyway for records, have it
work on records, and remove copy-record as being superfluous.
* doc/lispref/records.texi (Records, Record Functions):
* lisp/emacs-lisp/cl-macs.el (cl-defstruct):
* lisp/emacs-lisp/eieio.el (make-instance, clone):
* test/src/alloc-tests.el (record-3):
Use copy-sequence, not copy-record, to copy records.
* doc/lispref/sequences.texi (Sequence Functions)
(Array Functions): Document that aref and copy-sequence
work on records.
* etc/NEWS: Omit copy-record.
* src/alloc.c (Fcopy_record): Remove.
* src/data.c (Faref): Document that arg can be a record.
* src/fns.c (Fcopy_sequence): Copy records, too.
doc/lispref/records.texi
doc/lispref/sequences.texi
etc/NEWS
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/eieio.el
src/alloc.c
src/data.c
src/fns.c
test/src/alloc-tests.el