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

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

Re: closing emacsclient always focuses another emacs window


From: Michael Heerdegen
Subject: Re: closing emacsclient always focuses another emacs window
Date: Mon, 10 Mar 2014 06:00:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hello again,

I managed to get both behaviors with one server.  For the behavior the
OP sees,

  (when (or (not (process-get proc 'frame))
            (eq (process-get proc 'frame) (selected-frame)))
                (setq next-buffer (car (process-get proc 'buffers))))

(in some iteration) does set next-buffer.  For the behavior the OP
wants, next-buffer is not set.  So this seems to be the part were the
behaviors begin to diverge.

Michael.




reply via email to

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