]> git.eshelyaron.com Git - emacs.git/commitdiff
* Set `backtrace-line-length' in async worker processes
authorPhilip Brown <pdbrown.git@gmail.com>
Fri, 15 Jan 2021 08:35:36 +0000 (00:35 -0800)
committerAndrea Corallo <akrl@sdf.org>
Sat, 16 Jan 2021 12:32:04 +0000 (13:32 +0100)
Philip Brown <pdbrown.git@gmail.com>

* lisp/emacs-lisp/comp.el (comp-run-async-workers): Set
backtrace-line-length in async worker processes.

Copyright-paperwork-exempt: yes

lisp/emacs-lisp/comp.el

index 875f15aa75cb288aeb93877f20915c1fd562e299..d127cea449e9d1100ce798720a77c39845a32628 100644 (file)
@@ -3802,6 +3802,8 @@ display a message."
                    source-file (comp-el-to-eln-filename source-file)))
          do (let* ((expr `(progn
                             (require 'comp)
+                            ,(when (boundp 'backtrace-line-length)
+                               `(setf backtrace-line-length ,backtrace-line-length))
                             (setf comp-speed ,comp-speed
                                   comp-debug ,comp-debug
                                   comp-verbose ,comp-verbose