[Top][All Lists]

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

bug#4386: 23.1; emacsclient -t FILE -vs- server-window

From: Tom Tromey
Subject: bug#4386: 23.1; emacsclient -t FILE -vs- server-window
Date: Thu, 10 Sep 2009 09:55:02 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

>>>>> "martin" == martin rudalics <address@hidden> writes:

martin> The doc-string of `server-window' says
martin>   If it is a function, it should take one argument (a buffer) and
martin>   display and select it.

Oops.  I'm sorry I missed this.

martin> (lambda (buffer)
martin>   (let ((window
martin>          (if window-system
martin>              saved-server-window
martin>            (frame-selected-window))))
martin>     (set-window-buffer window buffer)
martin>     (select-window window)))
martin> seems more appropriate here.

Yeah, this worked.  Thank you.


reply via email to

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