aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2001-12-12 19:17:44 +0000
committerDave Love2001-12-12 19:17:44 +0000
commite4364402e1fbc39a64af82d2459f9f4240542b6d (patch)
treeffb82da081d9858d3df72844650d4d68ecb70b0f
parent201c831a096feecbad341f30d8c7497c466ab11a (diff)
downloademacs-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.el18
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.
1276See also command `unify-8859-on-decoding-mode'." 1276See 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.
1288On decoding, i.e. input operations, non-ASCII characters from the 1288On decoding -- i.e. input operations -- non-ASCII characters from the
1289built-in ISO 8859 charsets are unified by mapping them into the 1289built-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
1292This sets the parent of `standard-translation-table-for-decode'.
1293
1292See also command `unify-8859-on-encoding-mode'." 1294See 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.