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.
Thanks for your help.
-chris
-----원본 메시지----- From: Stas Boukarev Sent: Wednesday, April 13, 2011 8:42 AM To: Chris Kim Cc: slime-devel@common-lisp.net Subject: Re: [slime-devel] Switching between last two buffers
"Chris Kim" chrisk414@hotmail.com writes:
Hi, there.
I would like to assign a hotkey to switch between the last two buffers to compare the differences quickly.
The closest thing I found is "slime-selector l" Is there way I can assign an hotkey to the command above?
(global-set-key "key" (lambda (interactive) (slime-recently-visited-buffer 'lisp-mode)))