]> git.eshelyaron.com Git - emacs.git/commitdiff
Purecopy removal: Lisp code
authorPip Cet <pipcet@protonmail.com>
Wed, 21 Aug 2024 19:13:23 +0000 (19:13 +0000)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 10:29:51 +0000 (11:29 +0100)
* 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.

(cherry picked from commit 5b471384d1805bfb9e78314f8cb1f4d09aa378f7)

lisp/emacs-lisp/bytecomp.el
lisp/rfn-eshadow.el

index 86022700b65fc6d797482b15ae675387b89450a1..11a5e2a3b7f8cd8d11dd37df76d4725a66c89546 100644 (file)
@@ -4660,13 +4660,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
index 866fc5de4a608368c5d1c38a7b25b63654876779..533ebd6d5a90f3a8fa966901c8e6e40d6e43574d 100644 (file)
@@ -92,7 +92,6 @@
                  (sexp :tag "Value")))))
 
 (defcustom file-name-shadow-properties
-  ;; FIXME: should we purecopy this?
 '(face file-name-shadow field shadow)
   "Properties given to the `shadowed' part of a filename in the minibuffer.
 Only used when `file-name-shadow-mode' is active.