Improve defvar-keymap docstring.
* lisp/keymap.el (defvar-keymap): Improve description of ':enter' and ':exit' usage for ':repeat' keyword.
This commit is contained in:
parent
b7f0333355
commit
eed240bc02
1 changed files with 11 additions and 8 deletions
|
@ -579,14 +579,17 @@ value can also be a property list with properties `:enter' and
|
||||||
:repeat (:enter (commands ...) :exit (commands ...))
|
:repeat (:enter (commands ...) :exit (commands ...))
|
||||||
|
|
||||||
`:enter' specifies the list of additional commands that only
|
`:enter' specifies the list of additional commands that only
|
||||||
enter `repeat-mode'. When the list is empty, then by default all
|
enter `repeat-mode'. When the list is empty, then only the
|
||||||
commands in the map enter `repeat-mode'. This is useful when
|
commands defined in the map enter `repeat-mode'. Specifying a
|
||||||
there is a command that has the `repeat-map' symbol property, but
|
list of commands is useful when there are commands that have the
|
||||||
doesn't exist in this specific map. `:exit' is a list of
|
`repeat-map' symbol property, but don't exist in this specific
|
||||||
commands that exit `repeat-mode'. When the list is empty, no
|
map.
|
||||||
commands in the map exit `repeat-mode'. This is useful when a
|
|
||||||
command exists in this specific map, but it doesn't have the
|
`:exit' is a list of commands that exit `repeat-mode'. When the
|
||||||
`repeat-map' symbol property on its symbol.
|
list is empty, no commands in the map exit `repeat-mode'.
|
||||||
|
Specifying a list of commands is useful when those commands exist
|
||||||
|
in this specific map, but should not have the `repeat-map' symbol
|
||||||
|
property.
|
||||||
|
|
||||||
\(fn VARIABLE-NAME &key DOC FULL PARENT SUPPRESS NAME PREFIX KEYMAP REPEAT &rest [KEY DEFINITION]...)"
|
\(fn VARIABLE-NAME &key DOC FULL PARENT SUPPRESS NAME PREFIX KEYMAP REPEAT &rest [KEY DEFINITION]...)"
|
||||||
(declare (indent 1))
|
(declare (indent 1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue