emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] fix/bug-3133-pcase-doc fdbdb64 05/13: more @var{expval} in


From: Thien-Thi Nguyen
Subject: [Emacs-diffs] fix/bug-3133-pcase-doc fdbdb64 05/13: more @var{expval} insinuation
Date: Fri, 11 May 2018 12:50:51 -0400 (EDT)

branch: fix/bug-3133-pcase-doc
commit fdbdb6467f7ef15d51e0d32092e0b703be4cdee5
Author: Thien-Thi Nguyen <address@hidden>
Commit: Thien-Thi Nguyen <address@hidden>

    more @var{expval} insinuation
---
 doc/lispref/control.texi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index d546e9b..6df050e 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -389,16 +389,17 @@ Matches if @var{expval} is @code{equal} to @var{val}.
 @item @var{keyword}
 @itemx @var{integer}
 @itemx @var{string}
-Matches if the value is @code{equal} to the literal.
+Matches if @var{expval} is @code{equal} to the literal object.
 This is a special case of @code{'@var{val}}, above,
 possible because these types are self-quoting.
 
 @item _
-Matches any value.  This is known as @dfn{don't care} or @dfn{wildcard}.
+Matches any @var{expval}.
+This is known as @dfn{don't care} or @dfn{wildcard}.
 
 @item @var{symbol}
-Matches any value, and additionally let-binds @var{symbol} to the
-value it matched, so that you can later refer to it, either in the
+Matches any @var{expval}, and additionally let-binds @var{symbol} to
address@hidden, so that you can later refer to it, either in the
 @var{body-forms} or also later in the pattern.
 
 @item (pred @var{predfun})
@@ -473,8 +474,7 @@ Here's an example of using U-patterns:
 @end example
 
 In addition, you can use backquoted patterns that are more powerful.
-They allow matching the value of the @var{expression} that is the
-first argument of @code{pcase} against specifications of its
+They allow matching @var{expval} against specifications of its
 @emph{structure}.  For example, you can specify that the value must be
 a list of 2 elements whose first element is a specific string and the
 second element is any value with a backquoted pattern like



reply via email to

[Prev in Thread] Current Thread [Next in Thread]