From 499e715e2f31fc7f9e50dfb553532aedaba1dd3f Mon Sep 17 00:00:00 2001 From: Michael Heerdegen Date: Sun, 28 Oct 2018 23:30:49 +0100 Subject: [PATCH] WIP: pcase pattern side effects --- lisp/emacs-lisp/pcase.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el index 57c2d6c3cb..ff59d2c3a0 100644 --- a/lisp/emacs-lisp/pcase.el +++ b/lisp/emacs-lisp/pcase.el @@ -139,6 +139,9 @@ pcase (F ARG1 .. ARGn) call F with ARG1..ARGn and EXPVAL as n+1'th argument +Evaluating a FUN, BOOLEXP or EXPR as described above should not have +any side effects. + FUN, BOOLEXP, EXPR, and subsequent PAT can refer to variables bound earlier in the pattern by a SYMBOL pattern. -- 2.19.1