diff options
| author | Dave Love | 2002-12-09 18:01:21 +0000 |
|---|---|---|
| committer | Dave Love | 2002-12-09 18:01:21 +0000 |
| commit | 10d44a9905e7168f96e128dbcfac2f2645937d25 (patch) | |
| tree | 870851e381496316c7952a5c3b3abaa1e4bc33e5 | |
| parent | 034d21fe42133b76792464f182977f5216f1172b (diff) | |
| download | emacs-10d44a9905e7168f96e128dbcfac2f2645937d25.tar.gz emacs-10d44a9905e7168f96e128dbcfac2f2645937d25.zip | |
Fix properly.
| -rw-r--r-- | lisp/international/ucs-tables.el | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/lisp/international/ucs-tables.el b/lisp/international/ucs-tables.el index e26364e468a..8f0f1e1e36f 100644 --- a/lisp/international/ucs-tables.el +++ b/lisp/international/ucs-tables.el | |||
| @@ -70,18 +70,9 @@ | |||
| 70 | ;; to inconsistent behaviour between CCL-based coding systems which | 70 | ;; to inconsistent behaviour between CCL-based coding systems which |
| 71 | ;; use explicit translation tables and the rest.) | 71 | ;; use explicit translation tables and the rest.) |
| 72 | 72 | ||
| 73 | ;; Command `ucs-insert' is convenient for inserting a given Unicode. | 73 | ;; Command `ucs-insert' is convenient for inserting a given unicode. |
| 74 | ;; (See also the `ucs' input method.) | 74 | ;; (See also the `ucs' input method.) |
| 75 | 75 | ||
| 76 | ;; A replacement CCL program is provided which allows characters in | ||
| 77 | ;; the `ucs-mule-to-mule-unicode' table to be displayed with an | ||
| 78 | ;; iso-10646-encoded font. E.g. to use a `Unicode' font for Cyrillic: | ||
| 79 | ;; | ||
| 80 | ;; (set-fontset-font "fontset-startup" | ||
| 81 | ;; (cons (make-char 'cyrillic-iso8859-5 160) | ||
| 82 | ;; (make-char 'cyrillic-iso8859-5 255)) | ||
| 83 | ;; '(nil . "ISO10646-1")) | ||
| 84 | |||
| 85 | ;;; Code: | 76 | ;;; Code: |
| 86 | 77 | ||
| 87 | ;;; Define tables, to be populated later. | 78 | ;;; Define tables, to be populated later. |
| @@ -1226,9 +1217,9 @@ unification on input operations." | |||
| 1226 | (setq-default translation-table-for-input nil)) | 1217 | (setq-default translation-table-for-input nil)) |
| 1227 | 1218 | ||
| 1228 | (when for-encode | 1219 | (when for-encode |
| 1229 | ;; Make mule-utf-* disabled for all characters in | 1220 | ;; Disable mule-utf-* encoding for all characters in |
| 1230 | ;; ucs-mule-to-mule-unicode but what originally supported and what | 1221 | ;; ucs-mule-to-mule-unicode except what was originally supported |
| 1231 | ;; translated bt utf-translation-table-for-decode when | 1222 | ;; and what is translated by utf-translation-table-for-decode when |
| 1232 | ;; `utf-fragment-on-decoding' is non-nil. | 1223 | ;; `utf-fragment-on-decoding' is non-nil. |
| 1233 | (let ((coding-list '(mule-utf-8 mule-utf-16-be mule-utf-16-le)) | 1224 | (let ((coding-list '(mule-utf-8 mule-utf-16-be mule-utf-16-le)) |
| 1234 | (safe (coding-system-get 'mule-utf-8 'safe-chars))) | 1225 | (safe (coding-system-get 'mule-utf-8 'safe-chars))) |
| @@ -2444,9 +2435,10 @@ Interactively, prompts for a hex string giving the code." | |||
| 2444 | (optimize-char-table encode-translator)) | 2435 | (optimize-char-table encode-translator)) |
| 2445 | (if (charsetp cs) | 2436 | (if (charsetp cs) |
| 2446 | (push cs safe-charsets) | 2437 | (push cs safe-charsets) |
| 2447 | (setq safe-charsets | 2438 | (if (coding-system-p cs) |
| 2448 | (append (delq 'ascii (coding-system-get cs 'safe-charsets)) | 2439 | (setq safe-charsets |
| 2449 | safe-charsets))) | 2440 | (append (delq 'ascii (coding-system-get cs 'safe-charsets)) |
| 2441 | safe-charsets)))) | ||
| 2450 | (cond ((eq cs 'vietnamese-viscii) | 2442 | (cond ((eq cs 'vietnamese-viscii) |
| 2451 | (coding-system-put 'vietnamese-viscii | 2443 | (coding-system-put 'vietnamese-viscii |
| 2452 | 'translation-table-for-input | 2444 | 'translation-table-for-input |