summaryrefslogtreecommitdiff
path: root/doc/lispintro
diff options
context:
space:
mode:
authorYugaEgo <yet@ego.team>2021-11-30 14:03:32 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-11-30 14:04:22 +0100
commitcd9dd26d24c0e97b980fba44c2f8f9e1d6c919a5 (patch)
tree1bdf8dbfc826fc93e148e6a32be6453957df24f3 /doc/lispintro
parentab291656d0e66ebaf763a7b527bc043f84a9ae78 (diff)
downloademacs-cd9dd26d24c0e97b980fba44c2f8f9e1d6c919a5.tar.gz
Format and index concept 'predicate' in ELisp Intro
* doc/lispintro/emacs-lisp-intro.texi (Wrong Type of Argument): Add index and format definition (bug#52197). Copyright-paperwork-exempt: yes
Diffstat (limited to 'doc/lispintro')
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index e3064580580..bd5decff669 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -2146,9 +2146,10 @@ number---the number of characters the location is from the beginning
of the buffer.) In Emacs Lisp, @code{+} can be used to add the
numeric value of marker positions as numbers.
+@cindex @samp{predicate} defined
The @samp{p} of @code{number-or-marker-p} is the embodiment of a
practice started in the early days of Lisp programming. The @samp{p}
-stands for ``predicate''. In the jargon used by the early Lisp
+stands for @dfn{predicate}. In the jargon used by the early Lisp
researchers, a predicate refers to a function to determine whether some
property is true or false. So the @samp{p} tells us that
@code{number-or-marker-p} is the name of a function that determines