From b02b54814ac406a8e71cf6f38e28682852e76a26 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 23 Apr 2013 11:57:44 -0700 Subject: [PATCH] * doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example. Tweak other to avoid overly long line. --- doc/lispref/ChangeLog | 5 +++++ 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 @@ +2013-04-23 Glenn Morris + + * internals.texi (Writing Emacs Primitives): Remove obvious example. + Tweak other to avoid overly long line. + 2013-04-21 Xue Fuqiao * 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. 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 -- 2.11.4.GIT