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 f927f6a 10/13: (docstring) move { '


From: Thien-Thi Nguyen
Subject: [Emacs-diffs] fix/bug-3133-pcase-doc f927f6a 10/13: (docstring) move { 'VAL, KEYWORD, INTEGER, STRING } prior to SYMBOL
Date: Fri, 11 May 2018 12:50:52 -0400 (EDT)

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

    (docstring) move { 'VAL, KEYWORD, INTEGER, STRING } prior to SYMBOL
---
 lisp/emacs-lisp/pcase.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el
index 974e8db..ab80aea 100644
--- a/lisp/emacs-lisp/pcase.el
+++ b/lisp/emacs-lisp/pcase.el
@@ -138,15 +138,15 @@ used to introduce logical patterns inside backquoted 
patterns.
 The complete list of standard patterns is as follows:
 
   _            matches anything.
+  \\='VAL              matches if EXPVAL is `equal' to VAL.
+  KEYWORD      shorthand for \\='KEYWORD
+  INTEGER      shorthand for \\='INTEGER
+  STRING       shorthand for \\='STRING
   SYMBOL       matches anything and binds it to SYMBOL.
                 If a SYMBOL is used twice in the same pattern
                 the second occurrence becomes an `eq'uality test.
   (or PAT...)  matches if any of the patterns matches.
   (and PAT...) matches if all the patterns match.
-  \\='VAL              matches if EXPVAL is `equal' to VAL.
-  KEYWORD      shorthand for \\='KEYWORD
-  INTEGER      shorthand for \\='INTEGER
-  STRING       shorthand for \\='STRING
   (pred FUN)   matches if FUN applied to EXPVAL returns non-nil.
   (guard BOOLEXP)      matches if BOOLEXP evaluates to non-nil.
   (let PAT EXP)        matches if EXP matches PAT.



reply via email to

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