[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4437d730a5f: Remove misspelled rx category `chinse-two-byte`
From: |
Mattias Engdegård |
Subject: |
master 4437d730a5f: Remove misspelled rx category `chinse-two-byte` |
Date: |
Thu, 1 Aug 2024 04:42:54 -0400 (EDT) |
branch: master
commit 4437d730a5fff6dca61f99a146c99aefd0f67577
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
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.
---
etc/NEWS | 3 +++
lisp/emacs-lisp/rx.el | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4437d730a5f: Remove misspelled rx category `chinse-two-byte`,
Mattias Engdegård <=