From: Bastien Guerry Date: Mon, 13 Jan 2014 22:24:29 +0000 (+0100) Subject: Fix/enhance `define-alternatives' docstring again X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~388 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7199b6d4f8e8133459e45985f1eb49b25038d317;p=emacs.git Fix/enhance `define-alternatives' docstring again --- diff --git a/lisp/simple.el b/lisp/simple.el index 8ff6b9c55f4..ceddfc6421a 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -7659,14 +7659,15 @@ warning using STRING as the message.") The argument `COMMAND' should be a symbol. 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. -Running `C-u M-x COMMAND RET' prompts again and overwrite the -previous choice. +Running `C-u M-x COMMAND RET' prompts again for an alternative +and overwrites the previous choice. 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 `defcustom' keywords and values to add to the declaration of