From e4364402e1fbc39a64af82d2459f9f4240542b6d Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 12 Dec 2001 19:17:44 +0000 Subject: [PATCH] (unify-8859-on-encoding-mode) (unify-8859-on-decoding-mode): Swap the code in their bodies. Add :version. --- lisp/international/ucs-tables.el | 18 +++++++++++------- 1 file 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. See also command `unify-8859-on-decoding-mode'." :group 'mule :global t + :version 21.3 ; who knows...? :init-value nil (if unify-8859-on-encoding-mode - (set-char-table-parent standard-translation-table-for-decode - ucs-mule-8859-to-mule-unicode) - (set-char-table-parent standard-translation-table-for-decode nil))) + (ucs-unify-8859 t) + (ucs-fragment-8859 t))) ;;;###autoload (define-minor-mode unify-8859-on-decoding-mode - "Set up translation tables for unifying ISO 8859 characters on decoding. -On decoding, i.e. input operations, non-ASCII characters from the + "Set up translation table for unifying ISO 8859 characters on decoding. +On decoding -- i.e. input operations -- non-ASCII characters from the built-in ISO 8859 charsets are unified by mapping them into the `iso-latin-1' and `mule-unicode-0100-24ff' charsets. +This sets the parent of `standard-translation-table-for-decode'. + See also command `unify-8859-on-encoding-mode'." :group 'mule :global t + :version 21.3 ; who knows...? :init-value nil (if unify-8859-on-decoding-mode - (ucs-unify-8859 t) - (ucs-fragment-8859 t))) + (set-char-table-parent standard-translation-table-for-decode + ucs-mule-8859-to-mule-unicode) + (set-char-table-parent standard-translation-table-for-decode nil))) (defun ucs-insert (arg) "Insert the Emacs character representation of the given Unicode. -- 2.39.2