From: Stefan Kangas Date: Sun, 19 Jan 2025 12:57:23 +0000 (+0100) Subject: Better document side-effect free and pure C functions X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2261b42458a4b260c3aaf08dc9314b27337360e5;p=emacs.git Better document side-effect free and pure C functions * doc/lispref/internals.texi (Writing Emacs Primitives): Document that side-effect free and pure properties of C functions are defined in byte-opt.el. (cherry picked from commit 4726900fdc5b0736feb03e928594eb64262f9bd5) --- diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi index ff09e0aca1c..c6ca8159313 100644 --- a/doc/lispref/internals.texi +++ b/doc/lispref/internals.texi @@ -1164,7 +1164,8 @@ functions. If you define a function which is side-effect free or pure, give it a non-@code{nil} @code{side-effect-free} or @code{pure} property, -respectively (@pxref{Standard Properties}). +respectively (@pxref{Standard Properties}). See the lists defined in +@samp{byte-opt.el}. @node Writing Dynamic Modules @section Writing Dynamically-Loaded Modules