1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

* doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example.

Tweak other to avoid overly long line.
This commit is contained in:
Glenn Morris 2013-04-23 11:57:44 -07:00
parent 6eca2e74f9
commit b02b54814a
2 changed files with 11 additions and 14 deletions

View File

@ -1,3 +1,8 @@
2013-04-23 Glenn Morris <rgm@gnu.org>
* internals.texi (Writing Emacs Primitives): Remove obvious example.
Tweak other to avoid overly long line.
2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
* internals.texi (Writing Emacs Primitives): Remove unnecessary

View File

@ -666,28 +666,20 @@ less than 8.
This is an interactive specification, a string such as might be used
as the argument of @code{interactive} in a Lisp function. In the case
of @code{or}, it is 0 (a null pointer), indicating that @code{or}
cannot be called interactively. A value of @code{""} indicates a function that should receive no
arguments when called interactively. For example:
@smallexample
@group
DEFUN ("baz", Fbaz, Sbaz, 0, 0, "",
doc: /* @dots{} */)
@end group
@end smallexample
cannot be called interactively. A value of @code{""} indicates a
function that should receive no arguments when called interactively.
If the value begins with a @samp{"(}, the string is evaluated as a
Lisp form. For example:
@smallexample
@example
@group
DEFUN ("foo", Ffoo, Sfoo, 0, UNEVALLED, "(list
(read-char-by-name \"Insert character (Unicode name or hex): \")\
DEFUN ("foo", Ffoo, Sfoo, 0, UNEVALLED,
"(list (read-char-by-name \"Insert character: \")\
(prefix-numeric-value current-prefix-arg)\
t))",
doc: /* @dots{} /*)
@end group
@end smallexample
@end example
@item doc
This is the documentation string. It uses C comment syntax rather