[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] fix/bug-31311-pcase-doc 26b1fa0 06/16: say ‘doc’ instead
From: |
Thien-Thi Nguyen |
Subject: |
[Emacs-diffs] fix/bug-31311-pcase-doc 26b1fa0 06/16: say ‘doc’ instead of ‘docstring’; move before ‘&rest’ |
Date: |
Sun, 13 May 2018 13:16:34 -0400 (EDT) |
branch: fix/bug-31311-pcase-doc
commit 26b1fa08420685474df5d7de04145f51d83494d7
Author: Thien-Thi Nguyen <address@hidden>
Commit: Thien-Thi Nguyen <address@hidden>
say ‘doc’ instead of ‘docstring’; move before ‘&rest’
---
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 e0780ab..46d6c07 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -595,7 +595,7 @@ evaluation results:
Additional U-patterns can be defined using the @code{pcase-defmacro}
macro.
address@hidden pcase-defmacro name args &rest [docstring] body
address@hidden pcase-defmacro name args [doc] &rest body
Define a new kind of U-pattern for @code{pcase}. The new U-pattern will
be invoked as @code{(@var{name} @var{actual-args})}. The @var{body}
should describe how to rewrite the U-pattern @var{name} into some other
@@ -603,7 +603,7 @@ U-pattern. The rewriting will be the result of evaluating
@var{body}
in an environment where @var{args} are bound to @var{actual-args}.
For documentation consistency, use @code{EXPVAL}
-in @var{docstring} to stand for the result of
+in @var{doc}, the docstring, to stand for the result of
evaluating @var{expression} (first arg to `pcase').
@end defmac
- [Emacs-diffs] fix/bug-31311-pcase-doc updated (b93c07e -> 2eb044b), Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 3a1f07e 01/16: (docstring) do ‘s/applied to/called on/g’, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc c5076a2 03/16: convert a few "the @foo{bar}" into simply "@foo{bar}", Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc e436b49 04/16: for structural / Q-pattern, replace "atom" w/ SYMBOL, INTEGER, STRING, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 26b1fa0 06/16: say ‘doc’ instead of ‘docstring’; move before ‘&rest’,
Thien-Thi Nguyen <=
- [Emacs-diffs] fix/bug-31311-pcase-doc 75ed6d2 05/16: use ‘EXPVAL’ in ‘pcase-defmacro’ et al docstrings, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 24b02d2 08/16: (docstring) zonk inline Issue, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 5bbbcf4 02/16: move table of PREDFUN forms into ‘pred’ item; refine, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 42ee34d 07/16: add comment: pine for ‘backquote’ first in generated docs; nfc, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 5fc0f24 11/16: mention unsuitability of ‘t’, ‘nil’ as SYMBOL pattern, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 352c1de 12/16: (docstring) small refinements, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc df05494 10/16: objects are self-quoting, not types, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 1c84726 14/16: move ‘app’ to immediately follow ‘pred’, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 381ea05 09/16: (docstring) split middle, Thien-Thi Nguyen, 2018/05/13
- [Emacs-diffs] fix/bug-31311-pcase-doc 985c4ce 13/16: refine ‘(let ...)’ @item, Thien-Thi Nguyen, 2018/05/13