aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/international/mule-util.el15
1 files changed, 12 insertions, 3 deletions
diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el
index e9a3d67aa68..be55a22bf71 100644
--- a/lisp/international/mule-util.el
+++ b/lisp/international/mule-util.el
@@ -238,11 +238,20 @@ coding-spec (see the function `make-coding-system')."
238 (get coding-system 'coding-system))))) 238 (get coding-system 'coding-system)))))
239 239
240;;;###autoload 240;;;###autoload
241(defun coding-system-unification-table (coding-system) 241(defun coding-system-unification-table-for-decode (coding-system)
242 "Return unification-table property of CODING-SYSTEM." 242 "Return unification-table-for-decode property of CODING-SYSTEM."
243 (and coding-system 243 (and coding-system
244 (symbolp coding-system) 244 (symbolp coding-system)
245 (or (get coding-system 'unification-table) 245 (or (get coding-system 'unification-table-for-decode)
246 (coding-system-unification-table
247 (get coding-system 'coding-system)))))
248
249;;;###autoload
250(defun coding-system-unification-table-for-encode (coding-system)
251 "Return unification-table-for-encode property of CODING-SYSTEM."
252 (and coding-system
253 (symbolp coding-system)
254 (or (get coding-system 'unification-table-for-encode)
246 (coding-system-unification-table 255 (coding-system-unification-table
247 (get coding-system 'coding-system))))) 256 (get coding-system 'coding-system)))))
248 257