diff options
| author | Glenn Morris | 2013-04-23 11:57:44 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-04-23 11:57:44 -0700 |
| commit | b02b54814ac406a8e71cf6f38e28682852e76a26 (patch) | |
| tree | 5e851cf4418e5a94abdb5c70d5f598fedd1848cd | |
| parent | 6eca2e74f906392828563f900d1393534d189af8 (diff) | |
| download | emacs-b02b54814ac406a8e71cf6f38e28682852e76a26.tar.gz emacs-b02b54814ac406a8e71cf6f38e28682852e76a26.zip | |
* doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example.
Tweak other to avoid overly long line.
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/internals.texi | 20 |
2 files changed, 11 insertions, 14 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index f770fb3cada..1a6fd5eca0d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-04-23 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * internals.texi (Writing Emacs Primitives): Remove obvious example. | ||
| 4 | Tweak other to avoid overly long line. | ||
| 5 | |||
| 1 | 2013-04-21 Xue Fuqiao <xfq.free@gmail.com> | 6 | 2013-04-21 Xue Fuqiao <xfq.free@gmail.com> |
| 2 | 7 | ||
| 3 | * internals.texi (Writing Emacs Primitives): Remove unnecessary | 8 | * internals.texi (Writing Emacs Primitives): Remove unnecessary |
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi index 24440858b7e..06375c1e18e 100644 --- a/doc/lispref/internals.texi +++ b/doc/lispref/internals.texi | |||
| @@ -666,28 +666,20 @@ less than 8. | |||
| 666 | This is an interactive specification, a string such as might be used | 666 | This is an interactive specification, a string such as might be used |
| 667 | as the argument of @code{interactive} in a Lisp function. In the case | 667 | as the argument of @code{interactive} in a Lisp function. In the case |
| 668 | of @code{or}, it is 0 (a null pointer), indicating that @code{or} | 668 | of @code{or}, it is 0 (a null pointer), indicating that @code{or} |
| 669 | cannot be called interactively. A value of @code{""} indicates a function that should receive no | 669 | cannot be called interactively. A value of @code{""} indicates a |
| 670 | arguments when called interactively. For example: | 670 | function that should receive no arguments when called interactively. |
| 671 | |||
| 672 | @smallexample | ||
| 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 | 671 | If the value begins with a @samp{"(}, the string is evaluated as a |
| 680 | Lisp form. For example: | 672 | Lisp form. For example: |
| 681 | 673 | ||
| 682 | @smallexample | 674 | @example |
| 683 | @group | 675 | @group |
| 684 | DEFUN ("foo", Ffoo, Sfoo, 0, UNEVALLED, "(list | 676 | DEFUN ("foo", Ffoo, Sfoo, 0, UNEVALLED, |
| 685 | (read-char-by-name \"Insert character (Unicode name or hex): \")\ | 677 | "(list (read-char-by-name \"Insert character: \")\ |
| 686 | (prefix-numeric-value current-prefix-arg)\ | 678 | (prefix-numeric-value current-prefix-arg)\ |
| 687 | t))", | 679 | t))", |
| 688 | doc: /* @dots{} /*) | 680 | doc: /* @dots{} /*) |
| 689 | @end group | 681 | @end group |
| 690 | @end smallexample | 682 | @end example |
| 691 | 683 | ||
| 692 | @item doc | 684 | @item doc |
| 693 | This is the documentation string. It uses C comment syntax rather | 685 | This is the documentation string. It uses C comment syntax rather |