I'm following the "trick" described here to add new key bindings to my .emacs
file: http://www.gnu.org/software/emacs/manual/html_node/efaq/Binding-keys-to-commands.html
However, it's resulting in lines like this in my .emacs
file:
(global-set-key [24 4] (quote some-command))
Instead of [24 4]
I want it to explicitly mention the human-readable key commands C-x C-d
. Otherwise when I'm looking at my .emacs
file I can't make sense of [24 4]
and forget what keys I've bound things to.
1) what should I replace [24 4]
with in my .emacs
file to make it human-readable?
2) Is there a way to use the above "trick" and have it generate the human-readable key command instead of numerals?