Lisp HUG Maillist Archive

toggling breakpoints without touching the mouse

Unable to parse email body. Email id is 7744

Re: toggling breakpoints without touching the mouse

On Tue, Feb 19, 2008 at 02:24:08PM +0000, Nick Levine wrote:
> Is it possible to bind the "toggle breakpoint" gesture to an editor
> command? I tried once and got rather bogged down.

  (bind-key "Toggle Breakpoint" #\F2 :mode "Your Favorite Mode")

worked for me.  Binds F2 to the Toggle Breakpoint command.  Obviously
fill in "Your Favorite Mode" with whatever mode you actually want to
bind it in.

-- L


Updated at: 2020-12-10 08:43 UTC