summaryrefslogtreecommitdiff
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
commit236a1914276f86ae4f613ffe0293ab26dcf11497 (patch)
treed9483766bc5364ecd0718737c0ac1aa54899cf19
parent2c1e2995e548446bb2afe55d1c735cc5e8153a08 (diff)
downloademacs-236a1914276f86ae4f613ffe0293ab26dcf11497.tar.gz
(Writing Emacs Primitives): Clarify previous change.
-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