]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove misspelled rx category `chinse-two-byte`
authorMattias EngdegÄrd <mattiase@acm.org>
Thu, 1 Aug 2024 08:29:10 +0000 (10:29 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 2 Aug 2024 10:02:19 +0000 (12:02 +0200)
* 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)

etc/NEWS
lisp/emacs-lisp/rx.el

index 0b6ec575cfb801ca55ce09c7843769e7050543e0..a4bed83515167d2e189eff8b36df3501d542f10f 100644 (file)
--- 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.
+
 \f
 * Lisp Changes in Emacs 31.1
 
index 7113d5a62415634eec4ca38d3d9cd82a0aec04f5..2a2315f08b5836b0383beedd2ef3e575a10ff67c 100644 (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)