diff options
| -rw-r--r-- | lisp/international/mule.el | 26 |
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. | ||
| 1125 | Each element looks like (CHARSET ORIGIN-NAME GET-ORIGIN-CODE-FUNCTION). | ||
| 1126 | CHARSET is Emacs character set (symbol). | ||
| 1127 | ORIGIN-NAME is a name of original (external) character set (string). | ||
| 1128 | GET-ORIGIN-CODE-FUNCTION is a function which returns an original | ||
| 1129 | \(external) code. This function is called with one argument, Emacs | ||
| 1130 | character code. | ||
| 1131 | |||
| 1132 | The command \\[what-cursor-position] when called with prefix argument | ||
| 1133 | shows a character set name and character code based on this alist. If | ||
| 1134 | a character set of a character at point is not listed here, the | ||
| 1135 | character set is regarded as identical with the original (external) | ||
| 1136 | character set. | ||
| 1137 | |||
| 1138 | Setting specific language environment will change the value of this | ||
| 1139 | variable.") | ||
| 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. |
| 1143 | Each argument is a list of the form (FROM . TO), | 1133 | Each argument is a list of the form (FROM . TO), |