Improve 'key-valid-p' docstring
* lisp/keymap.el (key-valid-p): Add "RET", "<return>", and "C-m" examples. (Bug#75586)
This commit is contained in:
@@ -343,6 +343,9 @@ Here are some example of valid key sequences.
|
|||||||
\"C-c o\" (a two-key sequence: the key `c' with the control modifier
|
\"C-c o\" (a two-key sequence: the key `c' with the control modifier
|
||||||
followed by the key `o')
|
followed by the key `o')
|
||||||
\"H-<left>\" (the cursor control key named \"left\" with the hyper modifier)
|
\"H-<left>\" (the cursor control key named \"left\" with the hyper modifier)
|
||||||
|
\"RET\" (the \"return\" key, also available as \"C-m\")
|
||||||
|
\"<return>\" (the \"<return>\" function key, which can be bound separately
|
||||||
|
from \"RET\" on some systems)
|
||||||
\"M-RET\" (the \"return\" key with a meta modifier)
|
\"M-RET\" (the \"return\" key with a meta modifier)
|
||||||
\"C-M-<space>\" (the \"space\" key with both the control and meta modifiers)
|
\"C-M-<space>\" (the \"space\" key with both the control and meta modifiers)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user