[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r112361: * doc/lispref/internals.texi
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r112361: * doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example. |
Date: |
Tue, 23 Apr 2013 11:57:44 -0700 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 112361
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2013-04-23 11:57:44 -0700
message:
* doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious
example.
Tweak other to avoid overly long line.
modified:
doc/lispref/ChangeLog
doc/lispref/internals.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2013-04-21 11:16:30 +0000
+++ b/doc/lispref/ChangeLog 2013-04-23 18:57:44 +0000
@@ -1,3 +1,8 @@
+2013-04-23 Glenn Morris <address@hidden>
+
+ * internals.texi (Writing Emacs Primitives): Remove obvious example.
+ Tweak other to avoid overly long line.
+
2013-04-21 Xue Fuqiao <address@hidden>
* internals.texi (Writing Emacs Primitives): Remove unnecessary
=== modified file 'doc/lispref/internals.texi'
--- a/doc/lispref/internals.texi 2013-04-21 11:16:30 +0000
+++ b/doc/lispref/internals.texi 2013-04-23 18:57:44 +0000
@@ -666,28 +666,20 @@
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
-
+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:
address@hidden
address@hidden
@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
address@hidden smallexample
address@hidden example
@item doc
This is the documentation string. It uses C comment syntax rather
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r112361: * doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example.,
Glenn Morris <=