[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: server-buffer-clients and find-file-hook
From: |
Stefan Monnier |
Subject: |
Re: server-buffer-clients and find-file-hook |
Date: |
Thu, 20 Dec 2007 18:59:12 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
> server-buffer-clients is nil (Emacs 22) when find-file-hook is run.
> That makes it impossible to test if a buffer has clients at that time.
Seems difficult to solve this one directly: find-file creates the
buffer, so it first creates the buffer then calls find-file-hook then
returns the buffer to server.el (via find-file-noselect): server.el
doesn't get a chance to set server-buffer-clients early enough.
Did this used to work differently in earlier versions of Emacs?
Stefan