]> git.eshelyaron.com Git - emacs.git/commit
Use new-style rx extensions in python.el
authorMattias Engdegård <mattiase@acm.org>
Sun, 27 Oct 2019 20:39:58 +0000 (21:39 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 28 Oct 2019 16:38:33 +0000 (17:38 +0100)
commit2aed0430c7cbcab793782c6e24623f9a0a23fafa
tree12ede4a58c16fd238931697346aa50d4f95c1a2a
parent0c3e3a82aa1e8339ad59eec833d2a4d93429d8d5
Use new-style rx extensions in python.el

* lisp/progmodes/python.el (python-rx): Use `rx-let' instead of
`rx-constituents'.  This allows for some slight redundancy reduction,
since `rx-let' definitions are expanded inside `not' (bug#37849).
Reorder some `or' forms for more efficient matching.
lisp/progmodes/python.el