From c41219fcbbb01b5a219733ac54ad2cade438513b Mon Sep 17 00:00:00 2001 From: Robert Cochran Date: Wed, 14 Sep 2016 15:52:29 -0700 Subject: [PATCH] Fix docstring of pcase-let* pcase-let*'s docstring could have been taken to mean that the BODY parameter can only be a single expression, but it can be any numbers of expressions. Fix it to be more accurate. * lisp/emacs-lisp/pcase.el (pcase-let*): Fix docstring to be more accurate about what the BODY parameter can be. --- lisp/emacs-lisp/pcase.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el index 0b8dddf..2d61642 100644 --- a/lisp/emacs-lisp/pcase.el +++ b/lisp/emacs-lisp/pcase.el @@ -261,7 +261,7 @@ pcase--let* ;;;###autoload (defmacro pcase-let* (bindings &rest body) "Like `let*' but where you can use `pcase' patterns for bindings. -BODY should be an expression, and BINDINGS should be a list of bindings +BODY should be a list of expressions, and BINDINGS should be a list of bindings of the form (PAT EXP)." (declare (indent 1) (debug ((&rest (pcase-PAT &optional form)) body))) -- 2.7.4