emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible problem with compile


From: Stefan Monnier
Subject: Re: Possible problem with compile
Date: Thu, 21 Apr 2022 09:25:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> It's still not clear to me why you would want to eval there?

AFAICT it was an accident: the place where we do/did want to `eval` is
when `compile-command` is set (e.g. via Custom) to provide a useful
default for `M-x compile`.

For the command passed to the `compile` function, OTOH it's not of much
use since the callers could call `eval` if they wanted it (tho
admittedly, it wouldn't be run in the exact same context, so maybe
someone could cook up some hypothetical example where it could be used,
but it seems rather far-fetched).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]