]> git.eshelyaron.com Git - emacs.git/commit
Overhaul pcase documentation
authorThien-Thi Nguyen <ttn@gnu.org>
Mon, 21 May 2018 16:16:35 +0000 (18:16 +0200)
committerThien-Thi Nguyen <ttn@gnu.org>
Sun, 27 May 2018 15:14:27 +0000 (17:14 +0200)
commit567cb9046d098b617c76541a75516ac6ef563be7
treecac40d9b8ea3162c5e4762d0a35baaf0d598f983
parent4d7e54acff0869d42bfb5b95014f7e6b988666d5
Overhaul pcase documentation

Suggested by Drew Adams (Bug#31311).

* doc/lispref/control.texi (Control Structures):
Add "Pattern-Matching Conditional" to menu, before "Iteration".
(Conditionals): Delete menu.
(Pattern matching case statement): Delete node/subsection,
by actually moving, renaming, and overhauling it to...
(Pattern-Matching Conditional): ...new node/section.
(pcase Macro): New node/subsection.
(Extending pcase): Likewise.
(Backquote Patterns): Likewise.
* doc/lispref/elisp.texi (Top) In @detailmenu, add
"Pattern-Matching Conditional" under "Control Structures"
section and delete "Conditionals" section.
* lisp/emacs-lisp/pcase.el (pcase): Rewrite docstring.
(pcase-defmacro \` (qpat) ...): Likewise.
doc/lispref/control.texi
doc/lispref/elisp.texi
lisp/emacs-lisp/pcase.el