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

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

Re: simple editor required


From: Stefan Monnier
Subject: Re: simple editor required
Date: 12 Jun 2003 12:03:49 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> (global-set-key "?\C-?" 'delete-char)

Boy, how stupid can I be?

> (global-set-key "\C-?" 'delete-char)

Yes, that's what I meant.  Try

(add-hook 'c-common-mode-hook
  (lambda () (local-set-key "\C-?" 'delete-char)))

Since c-mode and derivatives insist on rebind the key.


        Stefan


reply via email to

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