Skip to content

Commit

Permalink
Remove misspelled rx category chinse-two-byte
Browse files Browse the repository at this point in the history
since emacs 31 remove the typo

emacs-mirror/emacs@4437d73
  • Loading branch information
nailuoGG committed Aug 5, 2024
1 parent 2303013 commit 7e5ff55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pangu-spacing.el
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ When you set t here, the space will be insert when you save file."
(defvar pangu-spacing-include-regexp
;; we didn't add korean because korean-hangul-two-byte is not implemented
(rx (or (and (or (group-n 3 (any "。,!?;:「」()、"))
(group-n 1 (or (category chinse-two-byte)
(group-n 1 (or (category chinese-two-byte)
(category japanese-hiragana-two-byte)
(category japanese-katakana-two-byte))))
(group-n 2 (in "a-zA-Z0-9")))
(and (group-n 1 (in "a-zA-Z0-9"))
(or (group-n 3 (any "。,!?;:「」()、"))
(group-n 2 (or (category chinse-two-byte)
(group-n 2 (or (category chinese-two-byte)
(category japanese-hiragana-two-byte)
(category japanese-katakana-two-byte)))))))
"Regexp to find Chinese character before English character.
Expand Down

0 comments on commit 7e5ff55

Please sign in to comment.