emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] fix/bug-31311-pcase-doc 50cd350 5/5: add some @group; rewo


From: Thien-Thi Nguyen
Subject: [Emacs-diffs] fix/bug-31311-pcase-doc 50cd350 5/5: add some @group; rework backquote-style example para
Date: Mon, 21 May 2018 09:43:40 -0400 (EDT)

branch: fix/bug-31311-pcase-doc
commit 50cd3507a4da8a9a98fd927f0bc56d9e9e486c5d
Author: Thien-Thi Nguyen <address@hidden>
Commit: Thien-Thi Nguyen <address@hidden>

    add some @group; rework backquote-style example para
---
 doc/lispref/control.texi | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index f886edb..4733ed1 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -927,22 +927,29 @@ elements whose first element is a specific string and the 
second
 element is any value, you can write a core pattern:
 
 @example
address@hidden
 (and (pred listp)
      ls
address@hidden group
address@hidden
      (guard (= 2 (length ls)))
      (guard (string= "first" (car ls)))
      (let second-elem (cadr ls)))
address@hidden group
 @end example
 
 @noindent
-or you can write the equivalent backquote-style pattern,
-which is more concise, resembling the structure of @var{expval},
-and avoids binding @code{ls}:
+or you can write the equivalent backquote-style pattern:
 
 @example
 `("first" ,second-elem)
 @end example
 
address@hidden
+The backquote-style pattern is more concise,
+resembles the structure of @var{expval},
+and avoids binding @code{ls}.
+
 A backquote-style pattern has the form @address@hidden where
 @var{qpat} can have the following forms:
 



reply via email to

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