Fix misspelling of 'chinese' in rx.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Jan 2014 06:10:52 +0000 (22:10 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Jan 2014 06:10:52 +0000 (22:10 -0800)
* lisp/emacs-lisp/rx.el (rx-categories): Correct spelling of
chinese-two-byte.

Fixes: debbugs:16237

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

index 8a37949..801f5b8 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1257,6 +1257,9 @@ regular file with contents being what would have been in the symlink.
 +++
 ** New functions `group-gid' and `group-real-gid'.
 
+** The spelling of the rx.el category `chinese-two-byte' has been
+corrected (the first 'e' was missing).
+
 ** Changes to the Emacs Lisp Coding Conventions in Emacs 24.4
 
 +++
index ad4c26c..d68d7ea 100644 (file)
@@ -1,5 +1,9 @@
 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
 
+       Fix misspelling of 'chinese' in rx (Bug#16237).
+       * emacs-lisp/rx.el (rx-categories): Correct spelling of
+       chinese-two-byte.
+
        Change subword regexps back to vars (Bug#16296).
        * progmodes/subword.el (subword-forward-regexp)
        (subword-backward-regexp): Change these back to variables.
index 7adf46e..f6934c3 100644 (file)
@@ -258,7 +258,8 @@ regular expressions.")
     (not-at-end-of-line                . ?<)
     (not-at-beginning-of-line  . ?>)
     (alpha-numeric-two-byte    . ?A)
-    (chinse-two-byte           . ?C)
+    (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)
@@ -1045,7 +1046,7 @@ CHAR
      `not-at-end-of-line'              (\\c<)
      `not-at-beginning-of-line'                (\\c>)
      `alpha-numeric-two-byte'          (\\cA)
-     `chinse-two-byte'                 (\\cC)
+     `chinese-two-byte'                        (\\cC)
      `greek-two-byte'                  (\\cG)
      `japanese-hiragana-two-byte'      (\\cH)
      `indian-tow-byte'                 (\\cI)