diff options
| author | Richard M. Stallman | 1997-06-10 02:12:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-06-10 02:12:27 +0000 |
| commit | 49adf44396a6467edfdf0d1024e3524fde5ab204 (patch) | |
| tree | 53436f57ecc6b78f6026e5e07db3967c6b0fa0e4 /lisp | |
| parent | 698f40ca012703f881a1a73fc208e264d9d78e43 (diff) | |
| download | emacs-49adf44396a6467edfdf0d1024e3524fde5ab204.tar.gz emacs-49adf44396a6467edfdf0d1024e3524fde5ab204.zip | |
Delete syntax stuff for Latin-1 and Latin-2.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/international/characters.el | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el index e28b7b95650..4820d910e73 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el | |||
| @@ -27,6 +27,9 @@ | |||
| 27 | ;; This file contains multibyte characters. Save this file always in | 27 | ;; This file contains multibyte characters. Save this file always in |
| 28 | ;; the coding system `iso-2022-7bit'. | 28 | ;; the coding system `iso-2022-7bit'. |
| 29 | 29 | ||
| 30 | ;; This file does not define the syntax for Latin-N character sets; | ||
| 31 | ;; those are defined by the files latin-N.el. | ||
| 32 | |||
| 30 | ;;; Predefined categories. | 33 | ;;; Predefined categories. |
| 31 | 34 | ||
| 32 | ;; For each character set. | 35 | ;; For each character set. |
| @@ -227,29 +230,6 @@ | |||
| 227 | (modify-category-entry (make-char 'latin-iso8859-4) ?l) | 230 | (modify-category-entry (make-char 'latin-iso8859-4) ?l) |
| 228 | (modify-category-entry (make-char 'latin-iso8859-9) ?l) | 231 | (modify-category-entry (make-char 'latin-iso8859-9) ?l) |
| 229 | 232 | ||
| 230 | ;; ISO-8859-1 (Latin-1) | ||
| 231 | (let ((c 64)) | ||
| 232 | (while (< c 128) ; from ',A@(B' to ',A(B' | ||
| 233 | (modify-syntax-entry (make-char 'latin-iso8859-1 c) "w") | ||
| 234 | (setq c (1+ c))) | ||
| 235 | (modify-syntax-entry (make-char 'latin-iso8859-1 32) "w") ; NBSP | ||
| 236 | (modify-syntax-entry ?,AW(B "_") | ||
| 237 | (modify-syntax-entry ?,Aw(B "_") | ||
| 238 | ) | ||
| 239 | |||
| 240 | ;; ISO-8859-2 (Latin-2) | ||
| 241 | (let ((c 190)) | ||
| 242 | (while (< c 255) | ||
| 243 | (modify-syntax-entry (make-char 'latin-iso8859-2 c) "w") | ||
| 244 | (setq c (1+ c)))) | ||
| 245 | (let ((chars '(?,B!(B ?,B#(B ?,B%(B ?,B&(B ?,B)(B ?,B*(B ?,B+(B ?,B,(B ?,B.(B ?,B/(B ?,B1(B ?,B3(B ?,B5(B ?,B6(B ?,B9(B ?,B:(B ?,B;(B ?,B<(B))) | ||
| 246 | (while chars | ||
| 247 | (modify-syntax-entry (car chars) "w") | ||
| 248 | (setq chars (cdr chars)))) | ||
| 249 | (modify-syntax-entry (make-char 'latin-iso8859-2 160) "w") ; NBSP | ||
| 250 | (modify-syntax-entry ?,BW(B ".") | ||
| 251 | (modify-syntax-entry ?,Bw(B ".") | ||
| 252 | |||
| 253 | ;; Greek character set (ISO-8859-7) | 233 | ;; Greek character set (ISO-8859-7) |
| 254 | 234 | ||
| 255 | (modify-category-entry (make-char 'greek-iso8859-7) ?g) | 235 | (modify-category-entry (make-char 'greek-iso8859-7) ?g) |