On 03/08/2024 18:38, Eli Zaretskii wrote:
comint-terminfo-terminal affects async-shell-command, why not this?
Ugh!  A mistake, IMNSHO.  But that ship sailed a long time ago, so we
cannot fix the mistake.  We can avoid enlarging the mistake, though.

If the fact that the variable is in comint is the problem, I can rename it and 
move it elsewhere.
I don't think functions that are almost primitives should pay
attention to application-level features such as this one.

FWIW async-shell-command's behavior is affected by a bunch of other comint-* variables as well because it uses a major mode which inherits from comint-mode (previously it was shell-mode, now shell-command-mode, but that aspect didn't change).



Reply via email to