diff --git a/etc/NEWS b/etc/NEWS index d3a99af86b7..02007830bfc 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -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 diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el index 7113d5a6241..2a2315f08b5 100644 --- a/lisp/emacs-lisp/rx.el +++ b/lisp/emacs-lisp/rx.el @@ -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)