diff options
| author | Xue Fuqiao | 2013-04-21 19:16:30 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-04-21 19:16:30 +0800 |
| commit | 84ebefe92fde8f636ceed2e51f6489876280be71 (patch) | |
| tree | a47efe7230d1735e77df352ce503d692141e659e | |
| parent | f8152bcb327ef9a7b66974b029b617e06461ebab (diff) | |
| download | emacs-84ebefe92fde8f636ceed2e51f6489876280be71.tar.gz emacs-84ebefe92fde8f636ceed2e51f6489876280be71.zip | |
* doc/lispref/internals.texi (Writing Emacs Primitives): Remove unnecessary references to the sources. (Bug#13800)
| -rw-r--r-- | doc/lispref/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/internals.texi | 34 |
2 files changed, 29 insertions, 8 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 36c8b8dbea7..f770fb3cada 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-04-21 Xue Fuqiao <xfq.free@gmail.com> | 1 | 2013-04-21 Xue Fuqiao <xfq.free@gmail.com> |
| 2 | 2 | ||
| 3 | * internals.texi (Writing Emacs Primitives): Remove unnecessary | ||
| 4 | references to the sources. (Bug#13800) | ||
| 5 | |||
| 3 | * searching.texi (Regexp Backslash): Doc fix for backslash | 6 | * searching.texi (Regexp Backslash): Doc fix for backslash |
| 4 | constructs in regular expressions. | 7 | constructs in regular expressions. |
| 5 | 8 | ||
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi index 3269776b626..24440858b7e 100644 --- a/doc/lispref/internals.texi +++ b/doc/lispref/internals.texi | |||
| @@ -661,15 +661,33 @@ equivalent of @code{&rest}). Both @code{UNEVALLED} and @code{MANY} are | |||
| 661 | macros. If @var{max} is a number, it must be more than @var{min} but | 661 | macros. If @var{max} is a number, it must be more than @var{min} but |
| 662 | less than 8. | 662 | less than 8. |
| 663 | 663 | ||
| 664 | @cindex interactive specification in primitives | ||
| 664 | @item interactive | 665 | @item interactive |
| 665 | This is an interactive specification, a string such as might be used as | 666 | This is an interactive specification, a string such as might be used |
| 666 | the argument of @code{interactive} in a Lisp function. In the case of | 667 | as the argument of @code{interactive} in a Lisp function. In the case |
| 667 | @code{or}, it is 0 (a null pointer), indicating that @code{or} cannot be | 668 | of @code{or}, it is 0 (a null pointer), indicating that @code{or} |
| 668 | called interactively. A value of @code{""} indicates a function that | 669 | cannot be called interactively. A value of @code{""} indicates a function that should receive no |
| 669 | should receive no arguments when called interactively. If the value | 670 | arguments when called interactively. For example: |
| 670 | begins with a @samp{(}, the string is evaluated as a Lisp form. | 671 | |
| 671 | For examples of the last two forms, see @code{widen} and | 672 | @smallexample |
| 672 | @code{narrow-to-region} in @file{editfns.c}. | 673 | @group |
| 674 | DEFUN ("baz", Fbaz, Sbaz, 0, 0, "", | ||
| 675 | doc: /* @dots{} */) | ||
| 676 | @end group | ||
| 677 | @end smallexample | ||
| 678 | |||
| 679 | If the value begins with a @samp{"(}, the string is evaluated as a | ||
| 680 | Lisp form. For example: | ||
| 681 | |||
| 682 | @smallexample | ||
| 683 | @group | ||
| 684 | DEFUN ("foo", Ffoo, Sfoo, 0, UNEVALLED, "(list | ||
| 685 | (read-char-by-name \"Insert character (Unicode name or hex): \")\ | ||
| 686 | (prefix-numeric-value current-prefix-arg)\ | ||
| 687 | t))", | ||
| 688 | doc: /* @dots{} /*) | ||
| 689 | @end group | ||
| 690 | @end smallexample | ||
| 673 | 691 | ||
| 674 | @item doc | 692 | @item doc |
| 675 | This is the documentation string. It uses C comment syntax rather | 693 | This is the documentation string. It uses C comment syntax rather |