mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Declare the variable rx-constituents obsolete.
It has been effectively obsolete since Emacs 27, when the modern extension mechanism was introduced. * lisp/emacs-lisp/rx.el (rx-constituents): Make obsolete. * test/lisp/emacs-lisp/rx-tests.el (rx-constituents): Suppress warning. * etc/NEWS: Announce.
This commit is contained in:
parent
f906ce5543
commit
3be382311f
3 changed files with 24 additions and 12 deletions
|
|
@ -149,6 +149,13 @@ If DEF is a list on the form (FUN MIN-ARGS MAX-ARGS PRED), then
|
|||
If PRED is non-nil, it is a predicate that all actual arguments must
|
||||
satisfy.")
|
||||
|
||||
(make-obsolete-variable
|
||||
'rx-constituents
|
||||
"use `rx-let', `rx-let-eval', or `rx-define' instead."
|
||||
;; Effectively obsolete since Emacs 27 but only formally declared
|
||||
;; obsolete in Emacs 30.
|
||||
"30.1")
|
||||
|
||||
(defvar rx--local-definitions nil
|
||||
"Alist of dynamic local rx definitions.
|
||||
Each entry is:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue