emacs-devel
[Top][All Lists]
Advanced

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

Re: compilation-process-setup-function doc bug?


From: Paul Michael Reilly
Subject: Re: compilation-process-setup-function doc bug?
Date: Wed, 04 Nov 2009 21:18:18 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4

On 11/04/2009 08:57 PM, Stefan Monnier wrote:
...
Indeed, it appears the doc disagrees with the code.
I'm not sure when the problem appeared, but the `compilation-buffer' is
(current-buffer).  OTOH compilation-window is not
immediately available.  (get-buffer-window (curent-buffer) 0) will
usually return the right window, tho.

In that case I'd be happy to fix the code by making both variables buffer local to the compilation buffer thus making the documentation consistent. Unless you would prefer to have the last sentence removed from the description and leave it to the User to figure out how to get the buffer or window should they need it. My preference is the former.

-pmr




reply via email to

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