Commit dff9ac46 authored by Glenn Morris's avatar Glenn Morris
Browse files

* doc/lispref/keymaps.texi (Remapping Commands): Mention how to undo it.

parent 41002397
2011-02-18 Glenn Morris <rgm@gnu.org>
* keymaps.texi (Remapping Commands): Mention how to undo it.
2011-02-05 Chong Yidong <cyd@stupidchicken.com>
* commands.texi (Accessing Mouse): Note that a header line is not
......
......@@ -1510,6 +1510,12 @@ does not have the effect of remapping @code{kill-line} into
if an ordinary binding specifies @code{my-kill-line}, this keymap will
remap it to @code{my-other-kill-line}.
To undo the remapping of a command, remap it to @code{nil}; e.g.
@smallexample
(define-key my-mode-map [remap kill-line] nil)
@end smallexample
@defun command-remapping command &optional position keymaps
This function returns the remapping for @var{command} (a symbol),
given the current active keymaps. If @var{command} is not remapped
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment