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

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

rebind key in a single major mode


From: Glen Coates
Subject: rebind key in a single major mode
Date: Thu, 23 Jan 2003 00:52:22 GMT
User-agent: Pan/0.13.0 (The whole remains beautiful)

Hi,

I've currently got the enter key bound to C-j in all modes because it
makes indenting so much easier, however, in gdb-mode this means I have to
hit C-m instead of enter because gdb-mode doesn't recognise C-j as the
newline character (I think).

What do I need to put in my .emacs in order to rebind enter to C-m for
gdb-mode only?

--
Cheers,
Glen


reply via email to

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