Heh, found, that it I can set `initial-buffer-choice' to some file-name and it will be opened instead of switching to *scratch*. But can't specify buffer without underlying file though. 2012/12/19 Константин Куликов > If you run command emacsclient -c the new frame will be created and then > selected window(that have cursor and input focus) of this frame is switched > to display *scratch* buffer. > I added hook to `after-make-frame-functions', that already perform > switching to another buffer that I need, but it's then switched to > *scratch*. > Can I somehow override this behaviour, by disabling switching to *scratch* > buffer in new frame, that was created by 'emacsclient -c' ? > >