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

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

Re: Q: How can I swap buffers in two windows?


From: Eric Pement
Subject: Re: Q: How can I swap buffers in two windows?
Date: 22 Sep 2005 15:15:38 -0700
User-agent: G2/0.2

Lennart Borgman wrote:
> Eric Pement wrote:
>
> > [ ... ] I would like a single command to swap or
> >exchange both windows, i.e., put buffer A into window B, and put buffer
> >B into window A. If there are not exactly two windows in the frame,
> >issue an error message.

> Something like this perhaps:
>
> (defun rotate-window-buffers()
[ ... ]

Great! No error message, but it seems to work in the brief testing that
I've done. Thanks, you've been a great help!!

--
Eric Pement



reply via email to

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