diff options
author | Pip Cet <pipcet@protonmail.com> | 2024-08-21 19:13:23 +0000 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2024-12-12 22:48:14 +0100 |
commit | 5b471384d1805bfb9e78314f8cb1f4d09aa378f7 (patch) | |
tree | ff9e3b246088c880a2ad145202316aae0fe0233b /lisp/emacs-lisp | |
parent | a54ff8c18fa9b97b737d0de1a5e160b454ac294d (diff) | |
download | emacs-5b471384d1805bfb9e78314f8cb1f4d09aa378f7.tar.gz emacs-5b471384d1805bfb9e78314f8cb1f4d09aa378f7.tar.bz2 emacs-5b471384d1805bfb9e78314f8cb1f4d09aa378f7.zip |
Purecopy removal: Lisp code
* lisp/emacs-lisp/bytecomp.el (byte-compile-cond-jump-table): Don't
request our hash tables be purecopied. Adjust comment.
* lisp/progmodes/elisp-mode.el (elisp--local-variables-completion-table):
Use 'defconst' rather than 'defvar' now the purespace problem is gone
* lisp/rfn-eshadow.el (file-name-shadow-properties): Remove obsolete
comment.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index f058fc48cc7..11f2ffa6063 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -4640,13 +4640,12 @@ Return (TAIL VAR TEST CASES), where: cases)))) (setq jump-table (make-hash-table :test test - :purecopy t :size nvalues))) (setq default-tag (byte-compile-make-tag)) ;; The structure of byte-switch code: ;; ;; varref var - ;; constant #s(hash-table purecopy t data (val1 (TAG1) val2 (TAG2))) + ;; constant #s(hash-table data (val1 (TAG1) val2 (TAG2))) ;; switch ;; goto DEFAULT-TAG ;; TAG1 |