diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-07-24 09:44:01 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-08-02 18:32:54 +0200 |
commit | ece5ace4a52eda26d9fe9563206781944aed16d0 (patch) | |
tree | 73aba3d87d5870055119b59316946eed31c286eb /lisp/emacs-lisp/check-declare.el | |
parent | d167888c5b7740af3300ee363c5121519dada0a2 (diff) | |
download | emacs-ece5ace4a52eda26d9fe9563206781944aed16d0.tar.gz emacs-ece5ace4a52eda26d9fe9563206781944aed16d0.tar.bz2 emacs-ece5ace4a52eda26d9fe9563206781944aed16d0.zip |
rx: better not-wordchar and (syntax word) translation
* lisp/emacs-lisp/rx.el:
Add tables of legacy syntax.
(rx--translate-symbol):
Translate the legacy construct `not-wordchar` as (not wordchar), which
is more intuitively obvious.
* lisp/emacs-lisp/rx.el (rx--translate-syntax):
Generate the shorter \w and \W instead of \sw and \Sw.
* test/lisp/emacs-lisp/rx-tests.el (rx-atoms, rx-syntax, rx-not):
Adapt tests.
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions