diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2019-04-17 16:34:47 +0100 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2019-04-22 13:48:20 +0100 |
commit | 4430a9b54fca266e48d0eb8b72d83706910f10b8 (patch) | |
tree | 182029118aaac0c6702ac50dc787a3e0c952b891 /doc/lispref/customize.texi | |
parent | a2a51b4e94d3e058a71815cb309a21b707c3473b (diff) | |
download | emacs-4430a9b54fca266e48d0eb8b72d83706910f10b8.tar.gz emacs-4430a9b54fca266e48d0eb8b72d83706910f10b8.tar.bz2 emacs-4430a9b54fca266e48d0eb8b72d83706910f10b8.zip |
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.
Diffstat (limited to 'doc/lispref/customize.texi')
-rw-r--r-- | doc/lispref/customize.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi index f71dedfd8b0..02eefe0f585 100644 --- a/doc/lispref/customize.texi +++ b/doc/lispref/customize.texi @@ -950,10 +950,10 @@ possibilities: @itemize @bullet @item -A predicate---that is, a function of one argument that has no side -effects, and returns either @code{nil} or non-@code{nil} according to -the argument. Using a predicate in the list says that objects for which -the predicate returns non-@code{nil} are acceptable. +A predicate---that is, a function of one argument that returns either +@code{nil} or non-@code{nil} according to the argument. Using a +predicate in the list says that objects for which the predicate +returns non-@code{nil} are acceptable. @item A quoted constant---that is, @code{'@var{object}}. This sort of element |