From: Lars Ingebrigtsen Date: Sat, 7 Aug 2021 10:59:22 +0000 (+0200) Subject: Fix print-length issue in comp-run-async-workers X-Git-Tag: emacs-28.0.90~1591^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc1ffc5f6e4f560dec04637e1aeadb7a5db918c4;p=emacs.git Fix print-length issue in comp-run-async-workers * lisp/emacs-lisp/comp.el (comp-run-async-workers): Bind print-length/print-level to ensure there's no truncation (bug#49922). --- diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 638d4b274cc..a04413b6f00 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -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))