changeset 19455:7cf3d42a6fd7

(coding-system-unification-table): Deleted. (coding-system-unification-table-for-decode): New function. (coding-system-unification-table-for-encode): New function.
author Kenichi Handa <handa@m17n.org>
date Fri, 22 Aug 1997 01:22:49 +0000
parents 5a08bc0f02d3
children f5627d8c422a
files lisp/international/mule-util.el
diffstat 1 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-util.el	Fri Aug 22 01:22:49 1997 +0000
+++ b/lisp/international/mule-util.el	Fri Aug 22 01:22:49 1997 +0000
@@ -238,11 +238,20 @@
 	    (get coding-system 'coding-system)))))
 
 ;;;###autoload
-(defun coding-system-unification-table (coding-system)
-  "Return unification-table property of CODING-SYSTEM."
+(defun coding-system-unification-table-for-decode (coding-system)
+  "Return unification-table-for-decode property of CODING-SYSTEM."
   (and coding-system
        (symbolp coding-system)
-       (or (get coding-system 'unification-table)
+       (or (get coding-system 'unification-table-for-decode)
+	   (coding-system-unification-table
+	    (get coding-system 'coding-system)))))
+
+;;;###autoload
+(defun coding-system-unification-table-for-encode (coding-system)
+  "Return unification-table-for-encode property of CODING-SYSTEM."
+  (and coding-system
+       (symbolp coding-system)
+       (or (get coding-system 'unification-table-for-encode)
 	   (coding-system-unification-table
 	    (get coding-system 'coding-system)))))