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.
This commit is contained in:
Stefan Kangas 2025-01-19 13:57:23 +01:00
parent 04c475a39f
commit 4726900fdc

View file

@ -1164,7 +1164,8 @@ functions.
If you define a function which is side-effect free or pure, give it 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, 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 @node Writing Dynamic Modules
@section Writing Dynamically-Loaded Modules @section Writing Dynamically-Loaded Modules