diff options
| author | Xue Fuqiao | 2014-02-28 09:49:25 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2014-02-28 09:49:25 +0800 |
| commit | 0fcfa97418aa7e7fa42887507e25b9bdf150cc66 (patch) | |
| tree | e67dc197846285696d3c4e03a5bd45a770ee1065 /etc | |
| parent | 3e557f5988c5f52dabce3fae470703d693ba6b5a (diff) | |
| download | emacs-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/NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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. |
| 1159 | Generic commands are interactive functions whose implementation can be | 1160 | Generic commands are interactive functions whose implementation can be |
| 1160 | selected among several alternatives, as a matter of user preference. | 1161 | selected among several alternatives, as a matter of user preference. |