]> git.eshelyaron.com Git - emacs.git/commitdiff
* keyboard.c (read_key_sequence): Accept both strings and vectors
authorJim Blandy <jimb@redhat.com>
Sun, 18 Jul 1993 06:25:40 +0000 (06:25 +0000)
committerJim Blandy <jimb@redhat.com>
Sun, 18 Jul 1993 06:25:40 +0000 (06:25 +0000)
as bindings in function-key-map.
     * keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix.

* keymap.c (syms_of_keymap): Doc fix.

src/keymap.c

index 8f61faa529ca926899fc29e72ecc5f23c8506427..36f34bd25ca6c02f105b430c65369f2c0087d2b1 100644 (file)
@@ -2243,14 +2243,14 @@ terminals at any point in a key sequence.\n\
 The read-key-sequence function replaces subsequences bound by\n\
 function-key-map with their bindings.  When the current local and global\n\
 keymaps have no binding for the current key sequence but\n\
-function-key-map binds a suffix of the sequence to a vector,\n\
+function-key-map binds a suffix of the sequence to a vector or string,\n\
 read-key-sequence replaces the matching suffix with its binding, and\n\
 continues with the new sequence.\n\
 \n\
-For example, suppose function-key-map binds `ESC O P' to [pf1].\n\
-Typing `ESC O P' to read-key-sequence would return [pf1].  Typing\n\
-`C-x ESC O P' would return [?\C-x pf1].  If [pf1] were a prefix\n\
-key, typing `ESC O P x' would return [pf1 x].");
+For example, suppose function-key-map binds `ESC O P' to [f1].\n\
+Typing `ESC O P' to read-key-sequence would return [f1].  Typing\n\
+`C-x ESC O P' would return [?\\C-x f1].  If [f1] were a prefix\n\
+key, typing `ESC O P x' would return [f1 x].");
   Vfunction_key_map = Fmake_sparse_keymap (Qnil);
 
   Qsingle_key_description = intern ("single-key-description");