diff options
author | Glenn Morris <rgm@gnu.org> | 2015-06-16 20:44:57 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-06-16 20:44:57 -0400 |
commit | d3b779fa79f3570879b2df2effa683c3b4aaa96a (patch) | |
tree | 68b0b826af8cd6b8de0f856e11fd0e271f760144 /lisp/emacs-lisp/pcase.el | |
parent | c07e67aaafc5374ad6f26a5f6c631f19a9256969 (diff) | |
download | emacs-d3b779fa79f3570879b2df2effa683c3b4aaa96a.tar.gz |
* lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
No longer needed.
Diffstat (limited to 'lisp/emacs-lisp/pcase.el')
-rw-r--r-- | lisp/emacs-lisp/pcase.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el index bcc2d58a0bc..50a25072128 100644 --- a/lisp/emacs-lisp/pcase.el +++ b/lisp/emacs-lisp/pcase.el @@ -774,9 +774,9 @@ Otherwise, it defers to REST which is a list of branches of the form ((memq upat '(t _)) (let ((code (pcase--u1 matches code vars rest))) (if (eq upat '_) code - (message "%s" - "Pattern t is deprecated. Use `_' instead") - code))) + (macroexp--warn-and-return + "Pattern t is deprecated. Use `_' instead" + code)))) ((eq upat 'pcase--dontcare) :pcase--dontcare) ((memq (car-safe upat) '(guard pred)) (if (eq (car upat) 'pred) (pcase--mark-used sym)) |