[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4386: 23.1; emacsclient -t FILE -vs- server-window
From: |
Stefan Monnier |
Subject: |
bug#4386: 23.1; emacsclient -t FILE -vs- server-window |
Date: |
Thu, 10 Sep 2009 09:42:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> where the "and select it" part is obviously silly. Anyway, something in
> the mood of
> (lambda (buffer)
> (let ((window
> (if window-system
> saved-server-window
> (frame-selected-window))))
> (set-window-buffer window buffer)
> (select-window window)))
> seems more appropriate here.
I believe checking window-system is wrong. Instead, the test should be
whether the current terminal and the saved-server-window are equal.
Stefan