[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: martin rudalics
Subject: bug#4386: 23.1; emacsclient -t FILE -vs- server-window
Date: Thu, 10 Sep 2009 07:56:06 +0200
User-agent: Thunderbird (Windows/20090302)

>           (lambda (buffer)
>             (if window-system
>                 saved-server-window
>               (selected-frame))))

The doc-string of `server-window' says

  If it is a function, it should take one argument (a buffer) and
  display and select it.

where the "and select it" part is obviously silly.  Anyway, something in
the mood of

(lambda (buffer)
  (let ((window
         (if window-system
    (set-window-buffer window buffer)
    (select-window window)))

seems more appropriate here.


reply via email to

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