* Set `backtrace-line-length' in async worker processes

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
This commit is contained in:
Philip Brown 2021-01-15 00:35:36 -08:00 committed by Andrea Corallo
parent 0a7ac0b550
commit 88100bed0a

View 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