aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/international/mule.el26
1 files changed, 8 insertions, 18 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index a1fb36cb619..b8f91b9ed90 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -358,6 +358,14 @@ See also the documentation of make-char."
358;; The value is a symbol of which name is `MIME-charset' parameter of 358;; The value is a symbol of which name is `MIME-charset' parameter of
359;; the coding system. 359;; the coding system.
360;; 360;;
361;; o charset-origin-alist
362;;
363;; The value is a list of this form:
364;; (CHARSET EXTERNAL-CHARSET-NAME ENCODING-FUNCTION).
365;; ENCODING-FUNCTION is a function to encode a character in CHARSET
366;; to the code in EXTERNAL-CHARSET-NAME. The command what-cursor-position
367;; uses this information of the buffer-file-coding-system.
368;;
361;; o valid-codes (meaningful only for a coding system based on CCL) 369;; o valid-codes (meaningful only for a coding system based on CCL)
362;; 370;;
363;; The value is a list to indicate valid byte ranges of the encoded 371;; The value is a list to indicate valid byte ranges of the encoded
@@ -1120,24 +1128,6 @@ or a function symbol which, when called, returns such a cons cell."
1120 (cons (cons regexp coding-system) 1128 (cons (cons regexp coding-system)
1121 network-coding-system-alist))))))) 1129 network-coding-system-alist)))))))
1122 1130
1123(defvar charset-origin-alist nil
1124 "Alist of Emacs charset vs the information of the origin of the charset.
1125Each element looks like (CHARSET ORIGIN-NAME GET-ORIGIN-CODE-FUNCTION).
1126CHARSET is Emacs character set (symbol).
1127ORIGIN-NAME is a name of original (external) character set (string).
1128GET-ORIGIN-CODE-FUNCTION is a function which returns an original
1129\(external) code. This function is called with one argument, Emacs
1130character code.
1131
1132The command \\[what-cursor-position] when called with prefix argument
1133shows a character set name and character code based on this alist. If
1134a character set of a character at point is not listed here, the
1135character set is regarded as identical with the original (external)
1136character set.
1137
1138Setting specific language environment will change the value of this
1139variable.")
1140
1141(defun make-translation-table (&rest args) 1131(defun make-translation-table (&rest args)
1142 "Make a translation table (char table) from arguments. 1132 "Make a translation table (char table) from arguments.
1143Each argument is a list of the form (FROM . TO), 1133Each argument is a list of the form (FROM . TO),