[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100477: * doc/lispref/keymaps.tex
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100477: * doc/lispref/keymaps.texi (Remapping Commands): Mention how to undo it. |
Date: |
Thu, 17 Feb 2011 21:11:26 -0800 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100477
committer: Glenn Morris <address@hidden>
branch nick: emacs-23
timestamp: Thu 2011-02-17 21:11:26 -0800
message:
* doc/lispref/keymaps.texi (Remapping Commands): Mention how to undo it.
modified:
doc/lispref/ChangeLog
doc/lispref/keymaps.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2011-02-05 06:13:36 +0000
+++ b/doc/lispref/ChangeLog 2011-02-18 05:11:26 +0000
@@ -1,3 +1,7 @@
+2011-02-18 Glenn Morris <address@hidden>
+
+ * keymaps.texi (Remapping Commands): Mention how to undo it.
+
2011-02-05 Chong Yidong <address@hidden>
* commands.texi (Accessing Mouse): Note that a header line is not
=== modified file 'doc/lispref/keymaps.texi'
--- a/doc/lispref/keymaps.texi 2011-01-28 17:37:07 +0000
+++ b/doc/lispref/keymaps.texi 2011-02-18 05:11:26 +0000
@@ -1510,6 +1510,12 @@
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.
+
address@hidden
+(define-key my-mode-map [remap kill-line] nil)
address@hidden 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100477: * doc/lispref/keymaps.texi (Remapping Commands): Mention how to undo it.,
Glenn Morris <=