Date: Jul 22, 2007 05:29
Stefan Monnier writes:
Hi Stefan,
>> I use my own `display-buffer-function' to have emacs split windows
>> horizontally by default. And, of course, I forgot to handle the
>> pop-up-frames case. Now I tried adding it, but I don't get it right. How
>> do I create a new frame and display a given buffer in it?
>
> You might try:
>
> (let ((display-buffer-function nil)
> (pop-up-frames t))
> (display-buffer ))
Yes, that works. Thanks a lot.
Bye,
Tassilo
--
People sometimes ask me if it is a sin in the Church of Emacs to use
vi. Using a free version of vi is not a sin; it is a penance. So happy
hacking. (Richard M. Stallman)
|