• Mattias Engdegård's avatar
    Remove the optional KEEP-ORDER argument to regexp-opt · 9f6a4bbc
    Mattias Engdegård authored
    This argument was added for the 'or' clause in rx, but it turned out
    to be a bad idea (bug#37659), and there seems to be little other use
    for it.
    
    * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Remove KEEP-ORDER.
    * doc/lispref/searching.texi (Regexp Functions):
    * etc/NEWS: Remove it from the documentation.
    * test/lisp/emacs-lisp/regexp-opt-tests.el (regexp-opt-test--match-all)
    (regexp-opt-test--check-perm, regexp-opt-test--explain-perm)
    (regexp-opt-keep-order, regexp-opt-longest-match): Simplify test.
    9f6a4bbc
regexp-opt-tests.el 3.1 KB