]> git.eshelyaron.com Git - emacs.git/commit
Backport: Improve pure and side-effect-free docs
authorBasil L. Contovounesios <contovob@tcd.ie>
Wed, 17 Apr 2019 15:34:47 +0000 (16:34 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Mon, 22 Apr 2019 15:14:33 +0000 (16:14 +0100)
commit3988e93d4b0f2bf677efd9f560373dd526097609
tree003dad909c9179da24a6501ce96ea17282382de2
parent7565d2d2fbc8eec314d40e2e99992c8864307e1b
Backport: Improve pure and side-effect-free docs

For discussion, see thread starting at:
https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00316.html
* doc/lispref/customize.texi (Composite Types): Do not overspecify
:match-alternatives predicates.
* doc/lispref/eval.texi (Intro Eval): Anchor definition of "side
effect" for cross-referencing...
* doc/lispref/functions.texi (What Is a Function): ...from here.
Define what a pure function is.
* doc/lispref/internals.texi (Writing Emacs Primitives): Describe
currently preferred approach to marking primitives as pure and
side-effect-free.
* doc/lispref/symbols.texi (Standard Properties): Expand description
of pure and side-effect-free properties.

(cherry picked from commit 4430a9b54fca266e48d0eb8b72d83706910f10b8)
doc/lispref/customize.texi
doc/lispref/eval.texi
doc/lispref/functions.texi
doc/lispref/internals.texi
doc/lispref/symbols.texi