]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix print-length issue in comp-run-async-workers
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 7 Aug 2021 10:59:22 +0000 (12:59 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 7 Aug 2021 10:59:22 +0000 (12:59 +0200)
* lisp/emacs-lisp/comp.el (comp-run-async-workers): Bind
print-length/print-level to ensure there's no truncation (bug#49922).

lisp/emacs-lisp/comp.el

index 638d4b274cc585c1e5a759419870874dccfa812d..a04413b6f006f37a66c15a092ea578198befe868 100644 (file)
@@ -3936,7 +3936,9 @@ display a message."
                                (concat "emacs-async-comp-"
                                        (file-name-base source-file) "-")
                                nil ".el"))
-                   (expr-strings (mapcar #'prin1-to-string expr))
+                   (expr-strings (let ((print-length nil)
+                                       (print-level nil))
+                                   (mapcar #'prin1-to-string expr)))
                    (_ (progn
                         (with-temp-file temp-file
                           (mapc #'insert expr-strings))