]> git.eshelyaron.com Git - emacs.git/commit
Add `rx-submatch-n' for compatibility (bug#37517)
authorMattias Engdegård <mattiase@acm.org>
Sun, 29 Sep 2019 14:59:58 +0000 (16:59 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 29 Sep 2019 15:08:43 +0000 (17:08 +0200)
commit2fa33eb6ee20e48a4c6488bb0d55b3c1c9a1f721
treed58330914fcf182f48d8a926874b3a08d5adf316
parent9d7fae5ab198f7f33ebb3e791475b4e1a0082f61
Add `rx-submatch-n' for compatibility (bug#37517)

It was an internal symbol in the old `rx' implementation, used in old
versions of the `flycheck' package.

* lisp/emacs-lisp/rx.el (rx-submatch-n): Alias of `rx-to-string'.
* test/lisp/emacs-lisp/rx-tests.el (rx-compat): Test it.
lisp/emacs-lisp/rx.el
test/lisp/emacs-lisp/rx-tests.el