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

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

Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Deskt


From: Tassilo Horn
Subject: Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Desktop?
Date: Sun, 22 Jul 2007 14:29:45 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> 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 <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)


reply via email to

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