Commit 7199b6d4 authored by Bastien Guerry's avatar Bastien Guerry
Browse files

Fix/enhance `define-alternatives' docstring again

parent ae93878a
...@@ -7659,14 +7659,15 @@ warning using STRING as the message.") ...@@ -7659,14 +7659,15 @@ warning using STRING as the message.")
The argument `COMMAND' should be a symbol. The argument `COMMAND' should be a symbol.
Running `M-x COMMAND RET' for the first time prompts for which Running `M-x COMMAND RET' for the first time prompts for which
alternative to use and record the selected command as a custom alternative to use and records the selected command as a custom
variable. variable.
Running `C-u M-x COMMAND RET' prompts again and overwrite the Running `C-u M-x COMMAND RET' prompts again for an alternative
previous choice. and overwrites the previous choice.
The variable `COMMAND-alternatives' contains an alist with The variable `COMMAND-alternatives' contains an alist with
alternative implementations of COMMAND. alternative implementations of COMMAND. `define-alternatives'
does not have any effect until this variable is set.
CUSTOMIZATIONS, if non-nil, should be composed of alternating CUSTOMIZATIONS, if non-nil, should be composed of alternating
`defcustom' keywords and values to add to the declaration of `defcustom' keywords and values to add to the declaration of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment