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

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

Re: Can the <delete> key and C-d be specified separately?


From: Stefan Monnier
Subject: Re: Can the <delete> key and C-d be specified separately?
Date: Sun, 10 Apr 2011 00:08:32 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Never mind. In this order
> (global-set-key "\C-d" 'backward-delete-char-untabify)
> (global-set-key [delete] 'delete-char)

The order doesn't matter.  When you hit `delete', Emacs uses the binding
of C-d unless there is a binding for `delete'.


        Stefan


reply via email to

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