[slime-devel] Switching between last two buffers

Stas Boukarev stassats at gmail.com
Wed Apr 13 14:10:56 UTC 2011

"Chris Kim" <chrisk414 at hotmail.com> writes:

> Hi Stas,
> Nico told me a different method but I think your suggestion might better in some case
> where I want to switch between two lisp buffers.
> I think there is an error in the original method below, missing () after lambda.
> This is what I have now..
> (global-set-key "\C-\M-l" (lambda () (interactive)
>            (slime-recently-visited-buffer 'lisp-mode)))
> But it doesn't do anything. Of course "slime-selector l" works fine.
> I'm just curious why it isn't working.
Sorry, it should've been
(global-set-key "\C-\M-l"
		(lambda ()
		   (slime-recently-visited-buffer 'lisp-mode))))

With best regards, Stas.

More information about the slime-devel mailing list