]> git.eshelyaron.com Git - emacs.git/commit
Make 'purecopy' an obsolete function alias for 'identity'
authorStefan Kangas <stefankangas@gmail.com>
Tue, 10 Dec 2024 18:39:03 +0000 (19:39 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 11:06:18 +0000 (12:06 +0100)
commit0a39375db0decca1e255dd35ec4fde724745dcc8
treed1f5cf74a1b02e28cf39376c183bd2842f8d4135
parentbdf32241549a066fc60468129a8705ce3b4232a4
Make 'purecopy' an obsolete function alias for 'identity'

* lisp/subr.el (purecopy): New obsolete function alias for 'identity'.
* src/alloc.c (purecopy): Remove function.
(Fpurecopy): Remove DEFUN.
(syms_of_alloc): Remove defsubr for above DEFUN.
* lisp/loadup.el (purify-flag): Don't set to hash table.

* doc/lispref/spellfile:
* doc/lispref/keymaps.texi (Tool Bar):
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Delete
references to 'purecopy'

(cherry picked from commit d6b05b128280cc23dc77a1a06194c4e69d1ac519)
doc/lispref/keymaps.texi
doc/lispref/spellfile
lisp/emacs-lisp/byte-opt.el
lisp/loadup.el
lisp/subr.el
src/alloc.c