[Top][All Lists]

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

Re: xref and leaving "temporary" buffers open

From: Stephen Leake
Subject: Re: xref and leaving "temporary" buffers open
Date: Sun, 26 Jul 2015 14:00:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)

Dmitry Gutov <address@hidden> writes:

> On 07/25/2015 06:53 PM, martin rudalics wrote:
>> All file visiting functions must be aware of it and take it out.  As far
>> as implementation is concerned we have the usual two choices: Pass an
>> extra argument (clean but costly) or bind some variable around the calls
>> that visit the file in the background which is probably the way to go.
> How about this:
> (defvar-local buffer-hidden nil
>   "When non-nil, this buffer is not returned by `buffer-list',
> unless passed a non-nil INCLUDE-HIDDEN argument.")

That means you have to use set-buffer to check for the buffer-local

Can't we set a property list on the buffer itself? That would be more
efficient to search on.

-- Stephe

reply via email to

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