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

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

Overriding switch to *scratch* buffer after creating new frame with 'ema


From: Константин Куликов
Subject: Overriding switch to *scratch* buffer after creating new frame with 'emacsclient -c'
Date: Wed, 19 Dec 2012 16:14:50 +0300

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' ?


reply via email to

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