Remove misspelled rx category chinse-two-byte

* lisp/emacs-lisp/rx.el (rx--categories): Remove misspelled variant
present in Emacs 21-1-24.3, correct name since 24.4.
* etc/NEWS: Announce.
This commit is contained in:
Mattias Engdegård 2024-08-01 10:29:10 +02:00
parent 27381d71c6
commit 4437d730a5
2 changed files with 3 additions and 2 deletions

View file

@ -213,6 +213,9 @@ any.
** The obsolete calling convention of 'error' has been removed.
That convention was: '(error &rest ARGS)'.
** The 'rx' category name 'chinese-two-byte' must now be spelled correctly.
An old alternative name (without the first 'e') has been removed.
* Lisp Changes in Emacs 31.1

View file

@ -52,7 +52,6 @@
;; (repeat N FORM) (= N FORM)
;; (syntax CHARACTER) (syntax NAME)
;; (syntax CHAR-SYM) [1] (syntax NAME)
;; (category chinse-two-byte) (category chinese-two-byte)
;; unibyte ascii
;; multibyte nonascii
;; --------------------------------------------------------
@ -1011,7 +1010,6 @@ Return (REGEXP . PRECEDENCE)."
(not-at-beginning-of-line . ?>)
(alpha-numeric-two-byte . ?A)
(chinese-two-byte . ?C)
(chinse-two-byte . ?C) ; A typo in Emacs 21.1-24.3.
(greek-two-byte . ?G)
(japanese-hiragana-two-byte . ?H)
(indian-two-byte . ?I)