diff options
| author | Richard M. Stallman | 1994-09-13 18:01:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-13 18:01:51 +0000 |
| commit | 1981e886788dd74d4cc5e70cc061e123092ac43c (patch) | |
| tree | 270480123521af55c2908859a57e52fe34b6cd66 /src | |
| parent | 6e0dc84ae3ead4e097a4c6cf3ea11453b215654c (diff) | |
| download | emacs-1981e886788dd74d4cc5e70cc061e123092ac43c.tar.gz emacs-1981e886788dd74d4cc5e70cc061e123092ac43c.zip | |
(syms_of_keymap): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keymap.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/keymap.c b/src/keymap.c index 9396ee77760..1f32f8c622d 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -2437,15 +2437,18 @@ in the list takes precedence."); | |||
| 2437 | This allows Emacs to recognize function keys sent from ASCII\n\ | 2437 | This allows Emacs to recognize function keys sent from ASCII\n\ |
| 2438 | terminals at any point in a key sequence.\n\ | 2438 | terminals at any point in a key sequence.\n\ |
| 2439 | \n\ | 2439 | \n\ |
| 2440 | The read-key-sequence function replaces subsequences bound by\n\ | 2440 | The `read-key-sequence' function replaces any subsequence bound by\n\ |
| 2441 | function-key-map with their bindings. When the current local and global\n\ | 2441 | `function-key-map' with its binding. More precisely, when the active\n\ |
| 2442 | keymaps have no binding for the current key sequence but\n\ | 2442 | keymaps have no binding for the current key sequence but\n\ |
| 2443 | function-key-map binds a suffix of the sequence to a vector or string,\n\ | 2443 | `function-key-map' binds a suffix of the sequence to a vector or string,\n\ |
| 2444 | read-key-sequence replaces the matching suffix with its binding, and\n\ | 2444 | `read-key-sequence' replaces the matching suffix with its binding, and\n\ |
| 2445 | continues with the new sequence.\n\ | 2445 | continues with the new sequence.\n\ |
| 2446 | \n\ | 2446 | \n\ |
| 2447 | For example, suppose function-key-map binds `ESC O P' to [f1].\n\ | 2447 | The events that come from bindings in `function-key-map' are not\n\ |
| 2448 | Typing `ESC O P' to read-key-sequence would return [f1]. Typing\n\ | 2448 | themselves looked up in `function-key-map'.\n\ |
| 2449 | \n\ | ||
| 2450 | For example, suppose `function-key-map' binds `ESC O P' to [f1].\n\ | ||
| 2451 | Typing `ESC O P' to `read-key-sequence' would return [f1]. Typing\n\ | ||
| 2449 | `C-x ESC O P' would return [?\\C-x f1]. If [f1] were a prefix\n\ | 2452 | `C-x ESC O P' would return [?\\C-x f1]. If [f1] were a prefix\n\ |
| 2450 | key, typing `ESC O P x' would return [f1 x]."); | 2453 | key, typing `ESC O P x' would return [f1 x]."); |
| 2451 | Vfunction_key_map = Fmake_sparse_keymap (Qnil); | 2454 | Vfunction_key_map = Fmake_sparse_keymap (Qnil); |