diff options
| author | Dave Love | 2001-12-12 19:17:44 +0000 |
|---|---|---|
| committer | Dave Love | 2001-12-12 19:17:44 +0000 |
| commit | e4364402e1fbc39a64af82d2459f9f4240542b6d (patch) | |
| tree | ffb82da081d9858d3df72844650d4d68ecb70b0f | |
| parent | 201c831a096feecbad341f30d8c7497c466ab11a (diff) | |
| download | emacs-e4364402e1fbc39a64af82d2459f9f4240542b6d.tar.gz emacs-e4364402e1fbc39a64af82d2459f9f4240542b6d.zip | |
(unify-8859-on-encoding-mode)
(unify-8859-on-decoding-mode): Swap the code in their bodies. Add
:version.
| -rw-r--r-- | lisp/international/ucs-tables.el | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/lisp/international/ucs-tables.el b/lisp/international/ucs-tables.el index c206909c32d..f0975042c2d 100644 --- a/lisp/international/ucs-tables.el +++ b/lisp/international/ucs-tables.el | |||
| @@ -1276,26 +1276,30 @@ can cope with separate Latin-1 and Latin-9 representations of e-acute. | |||
| 1276 | See also command `unify-8859-on-decoding-mode'." | 1276 | See also command `unify-8859-on-decoding-mode'." |
| 1277 | :group 'mule | 1277 | :group 'mule |
| 1278 | :global t | 1278 | :global t |
| 1279 | :version 21.3 ; who knows...? | ||
| 1279 | :init-value nil | 1280 | :init-value nil |
| 1280 | (if unify-8859-on-encoding-mode | 1281 | (if unify-8859-on-encoding-mode |
| 1281 | (set-char-table-parent standard-translation-table-for-decode | 1282 | (ucs-unify-8859 t) |
| 1282 | ucs-mule-8859-to-mule-unicode) | 1283 | (ucs-fragment-8859 t))) |
| 1283 | (set-char-table-parent standard-translation-table-for-decode nil))) | ||
| 1284 | 1284 | ||
| 1285 | ;;;###autoload | 1285 | ;;;###autoload |
| 1286 | (define-minor-mode unify-8859-on-decoding-mode | 1286 | (define-minor-mode unify-8859-on-decoding-mode |
| 1287 | "Set up translation tables for unifying ISO 8859 characters on decoding. | 1287 | "Set up translation table for unifying ISO 8859 characters on decoding. |
| 1288 | On decoding, i.e. input operations, non-ASCII characters from the | 1288 | On decoding -- i.e. input operations -- non-ASCII characters from the |
| 1289 | built-in ISO 8859 charsets are unified by mapping them into the | 1289 | built-in ISO 8859 charsets are unified by mapping them into the |
| 1290 | `iso-latin-1' and `mule-unicode-0100-24ff' charsets. | 1290 | `iso-latin-1' and `mule-unicode-0100-24ff' charsets. |
| 1291 | 1291 | ||
| 1292 | This sets the parent of `standard-translation-table-for-decode'. | ||
| 1293 | |||
| 1292 | See also command `unify-8859-on-encoding-mode'." | 1294 | See also command `unify-8859-on-encoding-mode'." |
| 1293 | :group 'mule | 1295 | :group 'mule |
| 1294 | :global t | 1296 | :global t |
| 1297 | :version 21.3 ; who knows...? | ||
| 1295 | :init-value nil | 1298 | :init-value nil |
| 1296 | (if unify-8859-on-decoding-mode | 1299 | (if unify-8859-on-decoding-mode |
| 1297 | (ucs-unify-8859 t) | 1300 | (set-char-table-parent standard-translation-table-for-decode |
| 1298 | (ucs-fragment-8859 t))) | 1301 | ucs-mule-8859-to-mule-unicode) |
| 1302 | (set-char-table-parent standard-translation-table-for-decode nil))) | ||
| 1299 | 1303 | ||
| 1300 | (defun ucs-insert (arg) | 1304 | (defun ucs-insert (arg) |
| 1301 | "Insert the Emacs character representation of the given Unicode. | 1305 | "Insert the Emacs character representation of the given Unicode. |