diff options
| -rw-r--r-- | lisp/international/characters.el | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el index 5a3ea7f97d8..9b2b244d6ea 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el | |||
| @@ -484,6 +484,8 @@ | |||
| 484 | (zerop (% c 2)) | 484 | (zerop (% c 2)) |
| 485 | (set-case-syntax-pair (1- c) c tbl)) | 485 | (set-case-syntax-pair (1- c) c tbl)) |
| 486 | (setq c (1+ c))) | 486 | (setq c (1+ c))) |
| 487 | (set-downcase-syntax ?İ ?i tbl) | ||
| 488 | (set-upcase-syntax ?I ?ı tbl) | ||
| 487 | (set-case-syntax-pair ?IJ ?ij tbl) | 489 | (set-case-syntax-pair ?IJ ?ij tbl) |
| 488 | (set-case-syntax-pair ?Ĵ ?ĵ tbl) | 490 | (set-case-syntax-pair ?Ĵ ?ĵ tbl) |
| 489 | (set-case-syntax-pair ?Ķ ?ķ tbl) | 491 | (set-case-syntax-pair ?Ķ ?ķ tbl) |
| @@ -868,11 +870,22 @@ | |||
| 868 | ;; Setup auto-fill-chars for charsets that should invoke auto-filling. | 870 | ;; Setup auto-fill-chars for charsets that should invoke auto-filling. |
| 869 | ;; SPACE and NEWLINE are already set. Also put `nospace-between-words' | 871 | ;; SPACE and NEWLINE are already set. Also put `nospace-between-words' |
| 870 | ;; property on the charsets. | 872 | ;; property on the charsets. |
| 873 | |||
| 874 | (set-char-table-range auto-fill-chars '(#x3041 . #x30FF) t) | ||
| 875 | (set-char-table-range auto-fill-chars '(#x3400 . #x4DB5) t) | ||
| 876 | (set-char-table-range auto-fill-chars '(#x4e00 . #x9fbb) t) | ||
| 877 | (set-char-table-range auto-fill-chars '(#xF900 . #xFAFF) t) | ||
| 878 | (set-char-table-range auto-fill-chars '(#xFF00 . #xFF9F) t) | ||
| 879 | (set-char-table-range auto-fill-chars '(#x20000 . #x2FFFF) t) | ||
| 880 | |||
| 871 | (let ((l '(katakana-jisx0201 | 881 | (let ((l '(katakana-jisx0201 |
| 872 | japanese-jisx0208 japanese-jisx0212 | 882 | japanese-jisx0208 japanese-jisx0212 |
| 873 | chinese-gb2312 chinese-big5-1 chinese-big5-2))) | 883 | japanese-jisx0213-1 japanese-jisx0213-2 |
| 884 | chinese-gb2312 chinese-gbk chinese-big5-1 chinese-big5-2 | ||
| 885 | chinese-cns11643-1 chinese-cns11643-2 chinese-cns11643-3 | ||
| 886 | chinese-cns11643-4 chinese-cns11643-5 chinese-cns11643-6 | ||
| 887 | chinese-cns11643-7))) | ||
| 874 | (while l | 888 | (while l |
| 875 | ;;(aset auto-fill-chars (make-char (car l)) t) | ||
| 876 | (put-charset-property (car l) 'nospace-between-words t) | 889 | (put-charset-property (car l) 'nospace-between-words t) |
| 877 | (setq l (cdr l)))) | 890 | (setq l (cdr l)))) |
| 878 | 891 | ||