]> git.eshelyaron.com Git - emacs.git/commit
rx.el: Refactor user-definition expansion
authorMattias Engdegård <mattiase@acm.org>
Tue, 22 Oct 2019 15:02:23 +0000 (17:02 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 24 Oct 2019 08:23:00 +0000 (10:23 +0200)
commit539d0411bb04e5b3b32cd77ac3b3e4ad364589da
treeaf648e2b6719faf7dd9a310acdce692a8b11ca6e
parentb3b74514e98e2fc85c261a1444ce2db0cf23abfc
rx.el: Refactor user-definition expansion

* lisp/emacs-lisp/rx.el (rx--translate-not): Simplify structure.
* lisp/emacs-lisp/rx.el (rx--expand-def): New.
(rx--translate-symbol, rx--translate-form): Use rx--expand-def.
lisp/emacs-lisp/rx.el