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

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

Re: How to toggle to buffer previously selected ?


From: Tassilo Horn
Subject: Re: How to toggle to buffer previously selected ?
Date: Thu, 07 Feb 2008 11:53:48 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

"Francis Moreau" <address@hidden> writes:

Hi Francis,

> I know 'C-x o' to select the next selected buffer but I'd like to
> toggle between 2 buffers even if more than 2 buffers are displayed.

I use this:

(defun th-other-buffer ()
  (interactive)
  (switch-to-buffer (other-buffer)))

(global-set-key (kbd "C-?") 'th-other-buffer)

Bye,
Tassilo





reply via email to

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