From 7199b6d4f8e8133459e45985f1eb49b25038d317 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 13 Jan 2014 23:24:29 +0100 Subject: [PATCH] Fix/enhance `define-alternatives' docstring again --- lisp/simple.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.39.2