[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] fix/bug-31311-pcase-doc 658699c 1/8: do ‘s/cl-case/case/g
From: |
Thien-Thi Nguyen |
Subject: |
[Emacs-diffs] fix/bug-31311-pcase-doc 658699c 1/8: do ‘s/cl-case/case/g’ |
Date: |
Sat, 19 May 2018 07:39:36 -0400 (EDT) |
branch: fix/bug-31311-pcase-doc
commit 658699cd91fa779fee8b28e4de3e12727a7e79f5
Author: Thien-Thi Nguyen <address@hidden>
Commit: Thien-Thi Nguyen <address@hidden>
do ‘s/cl-case/case/g’
however, keep the Issue comment (for now)
---
doc/lispref/control.texi | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 018df24..75b5103 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -302,7 +302,6 @@ For example:
@c Issue: I use ‘case’ w/ the thought that it being an alias
@c to ‘cl-case’ is an ``implementation detail''.
address@hidden (However, below i use ‘cl-case’ explicitly. Hmmm.)
@c Is this okay?
This subsection describes the @code{pcase} macro,
a hybrid of @code{cond} and @code{case}
@@ -474,10 +473,10 @@ If all sub-patterns match, @code{and} matches.
@end table
@anchor{pcase-example-0}
address@hidden Example: Advantage Over @code{cl-case}
address@hidden Example: Advantage Over @code{case}
Here's an example that highlights some advantages @code{pcase}
-has over @code{cl-case}
+has over @code{case}
(@pxref{Conditionals,,,cl,Common Lisp Extensions}).
@example
@@ -495,9 +494,9 @@ has over @code{cl-case}
@end example
@noindent
-With @code{cl-case}, you would need to explicitly declare a local
+With @code{case}, you would need to explicitly declare a local
variable @code{code} to hold the return value of @code{get-return-code}.
-Also @code{cl-case} is difficult to use with strings because it
+Also @code{case} is difficult to use with strings because it
uses @code{eql} for comparison.
@anchor{pcase-example-1}
- [Emacs-diffs] fix/bug-31311-pcase-doc updated (2b1cc77 -> b870f3f), Thien-Thi Nguyen, 2018/05/19
- [Emacs-diffs] fix/bug-31311-pcase-doc 658699c 1/8: do ‘s/cl-case/case/g’,
Thien-Thi Nguyen <=
- [Emacs-diffs] fix/bug-31311-pcase-doc 9164317 3/8: present core pattern ‘and’ before ‘or’, Thien-Thi Nguyen, 2018/05/19
- [Emacs-diffs] fix/bug-31311-pcase-doc 4008976 5/8: rework ‘or’ same-symbols para, Thien-Thi Nguyen, 2018/05/19
- [Emacs-diffs] fix/bug-31311-pcase-doc f2c9983 2/8: explain ‘or’ same-symbols caveat, Thien-Thi Nguyen, 2018/05/19
- [Emacs-diffs] fix/bug-31311-pcase-doc 0133e9a 6/8: add some @group; rework example to use fewer lines, Thien-Thi Nguyen, 2018/05/19
- [Emacs-diffs] fix/bug-31311-pcase-doc 701142f 7/8: add some missing @result{}, Thien-Thi Nguyen, 2018/05/19
- [Emacs-diffs] fix/bug-31311-pcase-doc b870f3f 8/8: add some @group, Thien-Thi Nguyen, 2018/05/19
- [Emacs-diffs] fix/bug-31311-pcase-doc 712f4d7 4/8: formalize SEQPAT, Thien-Thi Nguyen, 2018/05/19