]> git.eshelyaron.com Git - emacs.git/commitdiff
Format and index concept 'predicate' in ELisp Intro
authorYugaEgo <yet@ego.team>
Tue, 30 Nov 2021 13:03:32 +0000 (14:03 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 30 Nov 2021 13:04:22 +0000 (14:04 +0100)
* doc/lispintro/emacs-lisp-intro.texi (Wrong Type of Argument):
Add index and format definition (bug#52197).

Copyright-paperwork-exempt: yes

doc/lispintro/emacs-lisp-intro.texi

index e3064580580b0cc6bf7edfe8c48f50f0e70f334c..bd5decff669c6069378531f2331d580362465b44 100644 (file)
@@ -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