]> git.eshelyaron.com Git - emacs.git/commit
Fix pcase rx patterns using rx-let bindings (bug#59814)
authorMattias Engdegård <mattiase@acm.org>
Sun, 4 Dec 2022 14:20:49 +0000 (15:20 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sun, 11 Dec 2022 15:49:06 +0000 (16:49 +0100)
commit87475f4af21daf8a09f08e359a22c33e0173f3ee
tree449e5f6d6e4d91052285de49e2be60b8d29c38d9
parent4893a15631743e1d885bd09b9184bc112c7eadcb
Fix pcase rx patterns using rx-let bindings (bug#59814)

Reported by Daniel Pittman.

* lisp/emacs-lisp/rx.el (rx): Move binding of rx--local-definitions...
(rx--to-expr): ...here.
* test/lisp/emacs-lisp/rx-tests.el (rx-let-pcase): New test.
lisp/emacs-lisp/rx.el
test/lisp/emacs-lisp/rx-tests.el