help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: compile mode buffer name customization


From: Michael Heerdegen
Subject: Re: compile mode buffer name customization
Date: Wed, 11 Nov 2020 19:16:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Joe Buehler <aspam@cox.net> writes:

> This stopped working at some point (haven't upgraded in a long time).  I
> saw a note to the effect that emacs lisp switched to lexical scoping?  I
> was using the "command" variable in my hook but it is no longer
> accessible apparently due to the scoping change?

Looks like that.

> Any easy solutions here?  Just having the mode name for the buffer name
> hook is a bit of a limitation.

(car compilation-arguments) maybe?  But I haven't studied the code,
maybe there is a better solution.


Michael.




reply via email to

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