aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKarl Fogel2018-06-25 12:23:23 -0500
committerKarl Fogel2018-06-25 12:23:23 -0500
commitc7848767c9210019c2a8691ff2a224f2b8a583d1 (patch)
tree4077b42c046477b304134e795e6608b847c51d48 /doc
parentf43186fe28e87738e9ea48216e5a5b67d2742d76 (diff)
downloademacs-c7848767c9210019c2a8691ff2a224f2b8a583d1.tar.gz
emacs-c7848767c9210019c2a8691ff2a224f2b8a583d1.zip
Tighten a cross-reference in documentation
* doc/lispref/internals.texi (Writing Emacs Primitives): Switch to a simple parenthetical cross-reference, following up to my commit 9a53b6d426 of 2018-06-24. See discussion: https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00826.html From: Eli Zaretskii Subject: Re: [Emacs-diffs] \ emacs-26 9a53b6d: Say how to override a primitive interactive spec To: Karl Fogel CC: Stefan Monnier, Emacs Devel Date: Mon, 25 Jun 2018 17:41:53 +0300 Message-Id: <83r2kvrkr2.fsf@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/internals.texi8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index 25333270c3e..45c3b87c0ac 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -726,7 +726,8 @@ less than 8.
726@cindex interactive specification in primitives 726@cindex interactive specification in primitives
727@item interactive 727@item interactive
728This is an interactive specification, a string such as might be used 728This is an interactive specification, a string such as might be used
729as the argument of @code{interactive} in a Lisp function. In the case 729as the argument of @code{interactive} in a Lisp function
730(@pxref{Using Interactive}). In the case
730of @code{or}, it is 0 (a null pointer), indicating that @code{or} 731of @code{or}, it is 0 (a null pointer), indicating that @code{or}
731cannot be called interactively. A value of @code{""} indicates a 732cannot be called interactively. A value of @code{""} indicates a
732function that should receive no arguments when called interactively. 733function that should receive no arguments when called interactively.
@@ -743,11 +744,6 @@ DEFUN ("foo", Ffoo, Sfoo, 0, UNEVALLED, 0
743@end group 744@end group
744@end example 745@end example
745 746
746If you wish to override a primitive interactive specification, just
747set the @code{interactive-form} property of the primitive function's
748symbol (@pxref{Using Interactive}). There is no need to edit C code
749and recompile Emacs.
750
751@item doc 747@item doc
752This is the documentation string. It uses C comment syntax rather 748This is the documentation string. It uses C comment syntax rather
753than C string syntax because comment syntax requires nothing special 749than C string syntax because comment syntax requires nothing special