[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/no-purespace 52dcc032067 37/41: Delete workaround for purespace
From: |
Stefan Kangas |
Subject: |
scratch/no-purespace 52dcc032067 37/41: Delete workaround for purespace in cl-generic |
Date: |
Thu, 12 Dec 2024 16:57:52 -0500 (EST) |
branch: scratch/no-purespace
commit 52dcc032067381f50d658dc43bf7088f1782c7af
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Delete workaround for purespace in cl-generic
* lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Delete
purespace workaround.
---
lisp/emacs-lisp/cl-generic.el | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el
index 11685d09d12..96f585df0c5 100644
--- a/lisp/emacs-lisp/cl-generic.el
+++ b/lisp/emacs-lisp/cl-generic.el
@@ -654,11 +654,7 @@ The set of acceptable TYPEs (also called \"specializers\")
is defined
(symbol-function sym)))
;; Prevent `defalias' from recording this as the definition site of
;; the generic function.
- current-load-list
- ;; BEWARE! Don't purify this function definition, since that leads
- ;; to memory corruption if the hash-tables it holds are modified
- ;; (the GC doesn't trace those pointers).
- (purify-flag nil))
+ current-load-list)
(when (listp old-adv-cc)
(set-advertised-calling-convention gfun old-adv-cc nil))
;; But do use `defalias', so that it interacts properly with nadvice,
- scratch/no-purespace 5b471384d18 18/41: Purecopy removal: Lisp code, (continued)
- scratch/no-purespace 5b471384d18 18/41: Purecopy removal: Lisp code, Stefan Kangas, 2024/12/12
- scratch/no-purespace 00a1152fad5 20/41: Update pdumper hashes, Stefan Kangas, 2024/12/12
- scratch/no-purespace e44b1bf5cca 27/41: Don't call purecopy in textmodes/*.el, Stefan Kangas, 2024/12/12
- scratch/no-purespace a54ff8c18fa 17/41: Unexec removal: Build system, Stefan Kangas, 2024/12/12
- scratch/no-purespace 065b6f2fa7a 28/41: Don't call purecopy in help-mode.el, Stefan Kangas, 2024/12/12
- scratch/no-purespace 833037fadd3 23/41: Don't call purecopy in international/*.el, Stefan Kangas, 2024/12/12
- scratch/no-purespace 8da7086be6d 31/41: Don't call purecopy in emacs-lisp/*.el, Stefan Kangas, 2024/12/12
- scratch/no-purespace d6aeb1a2606 33/41: Delete remaining calls to purecopy, Stefan Kangas, 2024/12/12
- scratch/no-purespace 892be3b3d7a 35/41: Remove check for working malloc_set_state, Stefan Kangas, 2024/12/12
- scratch/no-purespace ad9adab0428 36/41: Remove unused function my_heap_start, Stefan Kangas, 2024/12/12
- scratch/no-purespace 52dcc032067 37/41: Delete workaround for purespace in cl-generic,
Stefan Kangas <=
- scratch/no-purespace b299a5d1845 38/41: Delete obsolete comment about using purespace, Stefan Kangas, 2024/12/12
- scratch/no-purespace d6b05b12828 39/41: Make 'purecopy' an obsolete function alias for 'identity', Stefan Kangas, 2024/12/12