[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature/native-comp 2ac6194 1/2: * Add new customize `comp-async-env
From: |
Andrea Corallo |
Subject: |
Re: feature/native-comp 2ac6194 1/2: * Add new customize `comp-async-env-modifier-form' (Bug#40838) |
Date: |
Tue, 19 May 2020 07:33:30 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> nothing against kittens but I'm not really sure we can put a function
>> there. Have you took a look on how it's used?
>
> Briefly, yes, and I didn't see a problem with inserting a (funcall <foo>)
> in place of inserting the form. What am I missing?
The case discussed in the PR is when some dynamically generated code (by
in this case straight.el) must me passed to the async workers to modify
the compiler environment.
`comp-async-env-modifier-form' is used with others to form the command
line that is the mechanism we use to setup and start the async workers.
`comp-async-env-modifier-form' must be then prin1-able and does not
necessarly refer to any function defined on file.
In case there's a more elegant way let's go for it.
Andrea
--
address@hidden