Better document side-effect free and pure C functions
authorStefan Kangas <stefankangas@gmail.com>
Sun, 19 Jan 2025 12:57:23 +0000 (13:57 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 19 Jan 2025 13:30:31 +0000 (14:30 +0100)
* 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

index 3703c6087f77fb0a991eaa54b3ce9735c8d05dcd..b318f26d26fc471c9ff1daa912e844ce22e9c7cd 100644 (file)
@@ -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