diff options
| author | Chong Yidong | 2007-04-01 22:10:39 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-04-01 22:10:39 +0000 |
| commit | 8eedd200f03afc4ca330f8520fdb14be00635382 (patch) | |
| tree | 5516473ffde75476a2801f66d2c9fe7e2be88d60 | |
| parent | f808ad2db26803e1083e999a69afee424f6f0650 (diff) | |
| download | emacs-8eedd200f03afc4ca330f8520fdb14be00635382.tar.gz emacs-8eedd200f03afc4ca330f8520fdb14be00635382.zip | |
(Remapping Commands): Document new arg to command-remapping.
| -rw-r--r-- | lispref/keymaps.texi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi index 344ffa9a2da..684b3f7dd21 100644 --- a/lispref/keymaps.texi +++ b/lispref/keymaps.texi | |||
| @@ -1489,13 +1489,17 @@ does not have the effect of remapping @code{kill-line} into | |||
| 1489 | if an ordinary binding specifies @code{my-kill-line}, this keymap will | 1489 | if an ordinary binding specifies @code{my-kill-line}, this keymap will |
| 1490 | remap it to @code{my-other-kill-line}. | 1490 | remap it to @code{my-other-kill-line}. |
| 1491 | 1491 | ||
| 1492 | @defun command-remapping command &optional position | 1492 | @defun command-remapping command &optional position keymaps |
| 1493 | This function returns the remapping for @var{command} (a symbol), | 1493 | This function returns the remapping for @var{command} (a symbol), |
| 1494 | given the current active keymaps. If @var{command} is not remapped | 1494 | given the current active keymaps. If @var{command} is not remapped |
| 1495 | (which is the usual situation), or not a symbol, the function returns | 1495 | (which is the usual situation), or not a symbol, the function returns |
| 1496 | @code{nil}. @code{position} can optionally specify a buffer position | 1496 | @code{nil}. @code{position} can optionally specify a buffer position |
| 1497 | or an event position to determine the keymaps to use, as in | 1497 | or an event position to determine the keymaps to use, as in |
| 1498 | @code{key-binding}. | 1498 | @code{key-binding}. |
| 1499 | |||
| 1500 | If the optional argument @code{keymaps} is non-@code{nil}, it | ||
| 1501 | specifies a list of keymaps to search in. This argument is ignored if | ||
| 1502 | @code{position} is non-@code{nil}. | ||
| 1499 | @end defun | 1503 | @end defun |
| 1500 | 1504 | ||
| 1501 | @node Translation Keymaps | 1505 | @node Translation Keymaps |