emacs/doc
Mattias Engdegård 82b4e48c59 Allow characters and single-char strings in rx charsets
The `not' and `intersection' forms, and `or' inside these forms,
now accept characters and single-character strings as arguments.
Previously, they had to be wrapped in `any' forms.
This does not add expressive power but is a convenience and is easily
understood.

* doc/lispref/searching.texi (Rx Constructs): Amend the documentation.
* etc/NEWS: Announce the change.
* lisp/emacs-lisp/rx.el (rx--charset-p, rx--translate-not)
(rx--charset-intervals, rx): Accept characters and 1-char strings in
more places.
* test/lisp/emacs-lisp/rx-tests.el (rx-not, rx-charset-or)
(rx-def-in-charset-or, rx-intersection): Test the change.
2019-12-13 13:30:14 +01:00
..
emacs Spelling fixes 2019-12-09 18:45:18 -08:00
lispintro Spelling fixes 2019-12-09 18:45:18 -08:00
lispref Allow characters and single-char strings in rx charsets 2019-12-13 13:30:14 +01:00
man Enable tab-bar-mode from X resources 2019-10-13 23:56:17 +03:00
misc ; Spelling fixes 2019-12-10 20:05:49 -08:00