[Top][All Lists]

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

Re: redefine C-h

From: Kevin Rodgers
Subject: Re: redefine C-h
Date: Sat, 09 Aug 2008 08:14:41 -0600
User-agent: Thunderbird (Macintosh/20080707)

YSK wrote:
C-h is a normally prefix key, but I want to bind 'backward-char-
delete' to it. My .emacs has this:

(global-unset-key "\C-h")
(global-set-key "\C-\M-h" 'help-command)
(global-set-key [C-h] 'delete-backward-char)

I want to use C-M-h for help-command instead and use C-h for
backspace.'s not working. C-h remains a prefix key. My
understanding of prefix keys is basically nil, so there's probably
something pretty basic I'm missing here. Would anyone here be kind
enough to clue me in?

[C-h] is not the same thing as "\C-h".

Also, you need to (setq help-char ?\C-\M-h)

Kevin Rodgers
Denver, Colorado, USA

reply via email to

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