[slime-devel] Switching between last two buffers

Chris Kim chrisk414 at hotmail.com
Wed Apr 13 14:12:59 UTC 2011


Ah.. it makes sense.. Thanks. ^^
-chris

-----원본 메시지----- 
From: Stas Boukarev
Sent: Wednesday, April 13, 2011 11:10 PM
To: Chris Kim
Cc: slime-devel at common-lisp.net
Subject: Re: [slime-devel] Switching between last two buffers

"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 ()
  (interactive)
  (switch-to-buffer
   (slime-recently-visited-buffer 'lisp-mode))))

-- 
With best regards, Stas. 





More information about the slime-devel mailing list