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 3a1f07e 01/16: (docstring) do ‘s/


From: Thien-Thi Nguyen
Subject: [Emacs-diffs] fix/bug-31311-pcase-doc 3a1f07e 01/16: (docstring) do ‘s/applied to/called on/g’
Date: Sun, 13 May 2018 13:16:33 -0400 (EDT)

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

    (docstring) do ‘s/applied to/called on/g’
    
    "apply" means the function's last arg is taken as a list,
    but EXPVAL can be anything
---
 lisp/emacs-lisp/pcase.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el
index 3628e8a..398bc4d 100644
--- a/lisp/emacs-lisp/pcase.el
+++ b/lisp/emacs-lisp/pcase.el
@@ -130,10 +130,10 @@ the pattern matches.  A logical pattern can take one of 
the forms:
                 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.
-  (pred FUN)   matches if FUN applied to EXPVAL returns non-nil.
+  (pred FUN)   matches if FUN called on EXPVAL returns non-nil.
   (guard BOOLEXP)      matches if BOOLEXP evaluates to non-nil.
   (let PAT EXP)        matches if EXP matches PAT.
-  (app FUN PAT)        matches if FUN applied to EXPVAL matches PAT.
+  (app FUN PAT)        matches if FUN called on EXPVAL matches PAT.
 
 FUN in `pred' and `app' can take one of the forms:
   SYMBOL  or  (lambda ARGS BODY)



reply via email to

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