emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112346: * doc/lispref/internals.texi


From: Xue Fuqiao
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112346: * doc/lispref/internals.texi (Writing Emacs Primitives): Remove unnecessary references to the sources. (Bug#13800)
Date: Sun, 21 Apr 2013 19:22:05 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 112346 [merge]
committer: Xue Fuqiao <address@hidden>
branch nick: trunk
timestamp: Sun 2013-04-21 19:22:05 +0800
message:
  * doc/lispref/internals.texi (Writing Emacs Primitives): Remove unnecessary 
references to the sources. (Bug#13800)
modified:
  doc/lispref/ChangeLog
  doc/lispref/internals.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2013-04-21 03:27:51 +0000
+++ b/doc/lispref/ChangeLog     2013-04-21 11:16:30 +0000
@@ -1,5 +1,8 @@
 2013-04-21  Xue Fuqiao  <address@hidden>
 
+       * internals.texi (Writing Emacs Primitives): Remove unnecessary
+       references to the sources. (Bug#13800)
+
        * searching.texi (Regexp Backslash): Doc fix for backslash
        constructs in regular expressions.
 

=== modified file 'doc/lispref/internals.texi'
--- a/doc/lispref/internals.texi        2013-01-02 16:13:04 +0000
+++ b/doc/lispref/internals.texi        2013-04-21 11:16:30 +0000
@@ -661,15 +661,33 @@
 macros.  If @var{max} is a number, it must be more than @var{min} but
 less than 8.
 
address@hidden interactive specification in primitives
 @item interactive
-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
address@hidden, 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.  If the value
-begins with a @samp{(}, the string is evaluated as a Lisp form.
-For examples of the last two forms, see @code{widen} and
address@hidden in @file{editfns.c}.
+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:
+
address@hidden
address@hidden
+DEFUN ("baz", Fbaz, Sbaz, 0, 0, "",
+       doc: /* @dots{} */)
address@hidden group
address@hidden smallexample
+
+If the value begins with a @samp{"(}, the string is evaluated as a
+Lisp form.  For example:
+
address@hidden
address@hidden
+DEFUN ("foo", Ffoo, Sfoo, 0, UNEVALLED, "(list
+              (read-char-by-name \"Insert character (Unicode name or hex): \")\
+              (prefix-numeric-value current-prefix-arg)\
+              t))",
+  doc: /* @dots{} /*)
address@hidden group
address@hidden smallexample
 
 @item doc
 This is the documentation string.  It uses C comment syntax rather


reply via email to

[Prev in Thread] Current Thread [Next in Thread]