[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to switch to last visited buffer in other window ?
From: |
Mathias Dahl |
Subject: |
Re: how to switch to last visited buffer in other window ? |
Date: |
27 Jan 2005 13:09:22 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Ben Barrowes <barrowes@alum.mit.edu> writes:
> When using emacs, I typically have 5 or so windows open in the same
> session.
>
> Is there any way to save the current buffer name into a register? or
> somewhere where I can get it back?
I'm not sure I understand exactly what you want, but I use this:
(defun switch-prev-buffer ()
(interactive)
(switch-to-buffer (other-buffer)))
(global-set-key [f1] 'switch-prev-buffer)
Try it and see.
/Mathias
- how to switch to last visited buffer in other window ?, Ben Barrowes, 2005/01/26
- Re: how to switch to last visited buffer in other window ?,
Mathias Dahl <=
- Re: how to switch to last visited buffer in other window ?, Ben Barrowes, 2005/01/27
- Re: how to switch to last visited buffer in other window ?, Peter Dyballa, 2005/01/27
- Re: how to switch to last visited buffer in other window ?, Dodge, Edwardx K, 2005/01/27
- Re: how to switch to last visited buffer in other window ?, Ben Barrowes, 2005/01/27
- Re: how to switch to last visited buffer in other window ?, Dodge, Edwardx K, 2005/01/27
- Re: how to switch to last visited buffer in other window ?, Ben Barrowes, 2005/01/27