From 4726900fdc5b0736feb03e928594eb64262f9bd5 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 19 Jan 2025 13:57:23 +0100 Subject: [PATCH] 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. --- doc/lispref/internals.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi index 3703c6087f7..b318f26d26f 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 -- 2.30.2