aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorXue Fuqiao2014-02-28 09:49:25 +0800
committerXue Fuqiao2014-02-28 09:49:25 +0800
commit0fcfa97418aa7e7fa42887507e25b9bdf150cc66 (patch)
treee67dc197846285696d3c4e03a5bd45a770ee1065 /etc
parent3e557f5988c5f52dabce3fae470703d693ba6b5a (diff)
downloademacs-0fcfa97418aa7e7fa42887507e25b9bdf150cc66.tar.gz
emacs-0fcfa97418aa7e7fa42887507e25b9bdf150cc66.zip
Document `define-alternatives'.
* doc/lispref/elisp.texi (Top): * doc/lispref/commands.texi (Generic Commands): (Defining Commands): Document `define-alternatives'. * etc/NEWS: Related edit. Unrelated copyedit.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b9240f2936f..d08efc818d2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -730,7 +730,7 @@ are lined up to the first one.
730+++ 730+++
731** Octave mode 731** Octave mode
732 732
733*** Font locking for texinfo comments and new keywords. 733*** Font locking for Texinfo comments and new keywords.
734 734
735*** Completion in Octave file buffers. 735*** Completion in Octave file buffers.
736 736
@@ -1155,6 +1155,7 @@ treated as regexps rather than literal strings.
1155+++ 1155+++
1156** New functions `special-form-p' and `macrop'. 1156** New functions `special-form-p' and `macrop'.
1157 1157
1158+++
1158** New macro `define-alternatives' can be used to define generic commands. 1159** New macro `define-alternatives' can be used to define generic commands.
1159Generic commands are interactive functions whose implementation can be 1160Generic commands are interactive functions whose implementation can be
1160selected among several alternatives, as a matter of user preference. 1161selected among several alternatives, as a matter of user preference.