summaryrefslogtreecommitdiff
path: root/lispref/internals.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-04-24 02:01:11 +0000
committerRichard M. Stallman <rms@gnu.org>2003-04-24 02:01:11 +0000
commita5922d0cb16388bb64e540989cb25fc199d62c6d (patch)
treebb879bd0449f576308d5f643f1e6aeeeed950bbf /lispref/internals.texi
parent89e3b88bcd3a16c5eb6ccd6d5759be892d7c1313 (diff)
downloademacs-a5922d0cb16388bb64e540989cb25fc199d62c6d.tar.gz
(Writing Emacs Primitives): Clarify previous change.
Diffstat (limited to 'lispref/internals.texi')
-rw-r--r--lispref/internals.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/lispref/internals.texi b/lispref/internals.texi
index a96eacf39d2..607970acabf 100644
--- a/lispref/internals.texi
+++ b/lispref/internals.texi
@@ -593,8 +593,9 @@ Alas, we can't explain all the tricky details here.
accept two arguments at the C level: the number of Lisp arguments, and
a @code{Lisp_Object *} pointer to a C vector containing those Lisp
arguments. This C vector may be part of a Lisp vector, but it need
-not be. The responsibility for protecting the Lisp arguments from GC
-rests with the caller in this case.
+not be. The responsibility for using GCPRO to protecting the Lisp
+arguments from GC if necessary rests with the caller in this case,
+since the caller allocated or found the storage for them.
You must not use C initializers for static or global variables unless
the variables are never written once Emacs is dumped. These variables