From: Mattias EngdegÄrd Date: Thu, 1 Aug 2024 08:29:10 +0000 (+0200) Subject: Remove misspelled rx category `chinse-two-byte` X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dd31c24f8f8ec80121b36378a22b4ae3997ae49a;p=emacs.git 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. (cherry picked from commit 4437d730a5fff6dca61f99a146c99aefd0f67577) --- diff --git a/etc/NEWS b/etc/NEWS index 0b6ec575cfb..a4bed835151 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -207,6 +207,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)