]> git.eshelyaron.com Git - emacs.git/commitdiff
* Fix missing `comp-files-queue' update (bug#63415).
authorAndrea Corallo <akrl@sdf.org>
Wed, 17 May 2023 13:28:46 +0000 (15:28 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 17 May 2023 14:09:25 +0000 (16:09 +0200)
* lisp/emacs-lisp/comp.el (native--compile-async): Update
`comp-files-queue' for real.

lisp/emacs-lisp/comp.el

index 025d21631bb38068c97923e868e07853161c2aaf..576cd26dba72c409916db5c66586117f17b20b12 100644 (file)
@@ -4237,8 +4237,9 @@ bytecode definition was not changed in the meantime)."
           ;; compilation, so update `comp-files-queue' to reflect that.
           (unless (or (null load)
                       (eq load (cdr entry)))
-            (cl-substitute (cons file load) (car entry) comp-files-queue
-                           :key #'car :test #'string=))
+            (setf comp-files-queue
+                  (cl-substitute (cons file load) (car entry) comp-files-queue
+                                 :key #'car :test #'string=)))
 
         (unless (native-compile-async-skip-p file load selector)
           (let* ((out-filename (comp-el-to-eln-filename file))