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 afb5aa4 3/4: move UPattern and QPa


From: Thien-Thi Nguyen
Subject: [Emacs-diffs] fix/bug-31311-pcase-doc afb5aa4 3/4: move UPattern and QPattern tables outside of @defmac pcase
Date: Mon, 30 Apr 2018 09:12:11 -0400 (EDT)

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

    move UPattern and QPattern tables outside of @defmac pcase
    
    this results in more efficient horizontal space usage
---
 doc/lispref/control.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 9f07ee2..4056da3 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -325,6 +325,8 @@ The @var{pattern} part of a clause can be of one of two 
types:
 @dfn{UPattern}, which is not quoted.  UPatterns are simpler, so we
 describe them first.
 
address@hidden defmac
+
 Note: In the description of the patterns below, we use ``the value
 being matched'' to refer to the value of the @var{expression} that is
 the first argument of @code{pcase}.
@@ -456,8 +458,6 @@ in many cases lead to a more readable code.
 @c FIXME: There should be an example here showing how a 'pcase' that
 @c uses QPatterns can be rewritten using UPatterns.
 
address@hidden defmac
-
 Here is an example of using @code{pcase} to implement a simple
 interpreter for a little expression language (note that this example
 requires lexical binding, @pxref{Lexical Binding}):



reply via email to

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