aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-04-23 11:57:44 -0700
committerGlenn Morris2013-04-23 11:57:44 -0700
commitb02b54814ac406a8e71cf6f38e28682852e76a26 (patch)
tree5e851cf4418e5a94abdb5c70d5f598fedd1848cd
parent6eca2e74f906392828563f900d1393534d189af8 (diff)
downloademacs-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/ChangeLog5
-rw-r--r--doc/lispref/internals.texi20
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 @@
12013-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
12013-04-21 Xue Fuqiao <xfq.free@gmail.com> 62013-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.
666This is an interactive specification, a string such as might be used 666This is an interactive specification, a string such as might be used
667as the argument of @code{interactive} in a Lisp function. In the case 667as the argument of @code{interactive} in a Lisp function. In the case
668of @code{or}, it is 0 (a null pointer), indicating that @code{or} 668of @code{or}, it is 0 (a null pointer), indicating that @code{or}
669cannot be called interactively. A value of @code{""} indicates a function that should receive no 669cannot be called interactively. A value of @code{""} indicates a
670arguments when called interactively. For example: 670function that should receive no arguments when called interactively.
671
672@smallexample
673@group
674DEFUN ("baz", Fbaz, Sbaz, 0, 0, "",
675 doc: /* @dots{} */)
676@end group
677@end smallexample
678
679If the value begins with a @samp{"(}, the string is evaluated as a 671If the value begins with a @samp{"(}, the string is evaluated as a
680Lisp form. For example: 672Lisp form. For example:
681 673
682@smallexample 674@example
683@group 675@group
684DEFUN ("foo", Ffoo, Sfoo, 0, UNEVALLED, "(list 676DEFUN ("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
693This is the documentation string. It uses C comment syntax rather 685This is the documentation string. It uses C comment syntax rather