emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117553: * doc/lispref/commands.texi (Generic Com


From: Glenn Morris
Subject: [Emacs-diffs] emacs-24 r117553: * doc/lispref/commands.texi (Generic Commands): Copyedits.
Date: Sat, 04 Oct 2014 06:59:36 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117553
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Fri 2014-10-03 23:59:30 -0700
message:
  * doc/lispref/commands.texi (Generic Commands): Copyedits.
modified:
  doc/lispref/ChangeLog          changelog-20091113204419-o5vbwnq5f7feedwu-6155
  doc/lispref/commands.texi      
commands.texi-20091113204419-o5vbwnq5f7feedwu-6165
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2014-10-04 06:45:19 +0000
+++ b/doc/lispref/ChangeLog     2014-10-04 06:59:30 +0000
@@ -1,5 +1,7 @@
 2014-10-04  Glenn Morris  <address@hidden>
 
+       * commands.texi (Generic Commands): Copyedits.
+
        * display.texi (Scroll Bars):
        * modes.texi (Header Lines): Copyedits.
 

=== modified file 'doc/lispref/commands.texi'
--- a/doc/lispref/commands.texi 2014-06-14 16:37:15 +0000
+++ b/doc/lispref/commands.texi 2014-10-04 06:59:30 +0000
@@ -586,31 +586,26 @@
 @cindex alternatives, defining
 
 The macro @code{define-alternatives} can be used to define
address@hidden commands}.  Generic commands are interactive functions
-whose implementation can be selected among several alternatives, as a
-matter of user preference.
address@hidden commands}.  These are interactive functions whose
+implementation can be selected from several alternatives, as a matter
+of user preference.
 
 @defmac define-alternatives command &rest customizations
-Define the new command `COMMAND'.
-
-The argument `COMMAND' should be a symbol.
-
-When a user runs @kbd{M-x COMMAND @key{RET}} for the first time, Emacs
-will prompt for which alternative to use and record the selected
-command as a custom variable.
-
-Running @kbd{C-u M-x COMMAND @key{RET}} prompts again for an
-alternative and overwrites the previous choice.
-
-The variable @code{COMMAND-alternatives} contains an alist
-(@pxref{Association Lists}) with alternative implementations of
-`COMMAND'.  @code{define-alternatives} does not have any effect until
-this variable is set.
-
-If @var{customizations} is address@hidden, it should be composed of
-alternating @code{defcustom} keywords and values to add to the
-declaration of @code{COMMAND-alternatives} (typically :group and
-:version).
+Define the new command @var{command}, a symbol.
+
+When a user runs @kbd{M-x @var{command} @key{RET}} for the first time,
+Emacs prompts for which real form of the command to use, and records
+the selection by way of a custom variable.  Using a prefix argument
+repeats this process of choosing an alternative.
+
+The variable @address@hidden should contain an alist
+with alternative implementations of @var{command}.
+Until this variable is set, @code{define-alternatives} has no effect.
+
+If @var{customizations} is address@hidden, it should consist of
+alternating @code{defcustom} keywords (typically @code{:group} and
address@hidden:version}) and values to add to the declaration of
address@hidden@var{command}-alternatives}.
 @end defmac
 
 @node Interactive Call


reply via email to

[Prev in Thread] Current Thread [Next in Thread]