diff options
| -rw-r--r-- | lisp/international/mule.el | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 574c7213dc9..fc24ac0c525 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -777,36 +777,36 @@ PROPERTIES is an alist of properties vs the corresponding values. The | |||
| 777 | following properties are recognized: | 777 | following properties are recognized: |
| 778 | 778 | ||
| 779 | o post-read-conversion | 779 | o post-read-conversion |
| 780 | 780 | ||
| 781 | The value is a function to call after some text is inserted and | 781 | The value is a function to call after some text is inserted and |
| 782 | decoded by the coding system itself and before any functions in | 782 | decoded by the coding system itself and before any functions in |
| 783 | `after-insert-functions' are called. The argument of this | 783 | `after-insert-functions' are called. The argument of this |
| 784 | function is the same as for a function in | 784 | function is the same as for a function in |
| 785 | `after-insert-file-functions', i.e. LENGTH of the text inserted, | 785 | `after-insert-file-functions', i.e. LENGTH of the text inserted, |
| 786 | with point at the head of the text to be decoded. | 786 | with point at the head of the text to be decoded. |
| 787 | 787 | ||
| 788 | o pre-write-conversion | 788 | o pre-write-conversion |
| 789 | 789 | ||
| 790 | The value is a function to call after all functions in | 790 | The value is a function to call after all functions in |
| 791 | `write-region-annotate-functions' and `buffer-file-format' are | 791 | `write-region-annotate-functions' and `buffer-file-format' are |
| 792 | called, and before the text is encoded by the coding system itself. | 792 | called, and before the text is encoded by the coding system itself. |
| 793 | The arguments to this function are the same as those of a function | 793 | The arguments to this function are the same as those of a function |
| 794 | in `write-region-annotate-functions', i.e. FROM and TO, specifying | 794 | in `write-region-annotate-functions', i.e. FROM and TO, specifying |
| 795 | a region of text. | 795 | a region of text. |
| 796 | 796 | ||
| 797 | o translation-table-for-decode | 797 | o translation-table-for-decode |
| 798 | 798 | ||
| 799 | The value is a translation table to be applied on decoding. See | 799 | The value is a translation table to be applied on decoding. See |
| 800 | the function `make-translation-table' for the format of translation | 800 | the function `make-translation-table' for the format of translation |
| 801 | table. This is not applicable to type 4 (CCL-based) coding systems. | 801 | table. This is not applicable to type 4 (CCL-based) coding systems. |
| 802 | 802 | ||
| 803 | o translation-table-for-encode | 803 | o translation-table-for-encode |
| 804 | 804 | ||
| 805 | The value is a translation table to be applied on encoding. This is | 805 | The value is a translation table to be applied on encoding. This is |
| 806 | not applicable to type 4 (CCL-based) coding systems. | 806 | not applicable to type 4 (CCL-based) coding systems. |
| 807 | 807 | ||
| 808 | o safe-chars | 808 | o safe-chars |
| 809 | 809 | ||
| 810 | The value is a char table. If a character has non-nil value in it, | 810 | The value is a char table. If a character has non-nil value in it, |
| 811 | the character is safely supported by the coding system. This | 811 | the character is safely supported by the coding system. This |
| 812 | overrides the specification of safe-charsets. | 812 | overrides the specification of safe-charsets. |
| @@ -819,14 +819,14 @@ following properties are recognized: | |||
| 819 | mean that the charset can't be encoded in the coding system; | 819 | mean that the charset can't be encoded in the coding system; |
| 820 | it just means that some other receiver of text encoded | 820 | it just means that some other receiver of text encoded |
| 821 | in the coding system won't be able to handle that charset. | 821 | in the coding system won't be able to handle that charset. |
| 822 | 822 | ||
| 823 | o mime-charset | 823 | o mime-charset |
| 824 | 824 | ||
| 825 | The value is a symbol whose name is the `MIME-charset' parameter of | 825 | The value is a symbol whose name is the `MIME-charset' parameter of |
| 826 | the coding system. | 826 | the coding system. |
| 827 | 827 | ||
| 828 | o valid-codes (meaningful only for a coding system based on CCL) | 828 | o valid-codes (meaningful only for a coding system based on CCL) |
| 829 | 829 | ||
| 830 | The value is a list to indicate valid byte ranges of the encoded | 830 | The value is a list to indicate valid byte ranges of the encoded |
| 831 | file. Each element of the list is an integer or a cons of integer. | 831 | file. Each element of the list is an integer or a cons of integer. |
| 832 | In the former case, the integer value is a valid byte code. In the | 832 | In the former case, the integer value is a valid byte code. In the |
| @@ -1463,7 +1463,7 @@ text, and convert it in the temporary buffer. Otherwise, convert in-place." | |||
| 1463 | ;;; FILE I/O | 1463 | ;;; FILE I/O |
| 1464 | 1464 | ||
| 1465 | (defcustom auto-coding-alist | 1465 | (defcustom auto-coding-alist |
| 1466 | '(("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|tar\\|tgz\\)\\'" . no-conversion) | 1466 | '(("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|sx[dmicw]\\|tar\\|tgz\\)\\'" . no-conversion) |
| 1467 | ("\\.\\(gz\\|Z\\|bz\\|bz2\\|gpg\\)\\'" . no-conversion) | 1467 | ("\\.\\(gz\\|Z\\|bz\\|bz2\\|gpg\\)\\'" . no-conversion) |
| 1468 | ("/#[^/]+#\\'" . emacs-mule)) | 1468 | ("/#[^/]+#\\'" . emacs-mule)) |
| 1469 | "Alist of filename patterns vs corresponding coding systems. | 1469 | "Alist of filename patterns vs corresponding coding systems. |
| @@ -1553,7 +1553,7 @@ function by default." | |||
| 1553 | (let ((regexp (car (car alist)))) | 1553 | (let ((regexp (car (car alist)))) |
| 1554 | (when (re-search-forward regexp (+ (point) size) t) | 1554 | (when (re-search-forward regexp (+ (point) size) t) |
| 1555 | (setq coding-system (cdr (car alist))))) | 1555 | (setq coding-system (cdr (car alist))))) |
| 1556 | (setq alist (cdr alist))) | 1556 | (setq alist (cdr alist))) |
| 1557 | coding-system)) | 1557 | coding-system)) |
| 1558 | (let* ((case-fold-search t) | 1558 | (let* ((case-fold-search t) |
| 1559 | (head-start (point)) | 1559 | (head-start (point)) |
| @@ -1959,7 +1959,7 @@ This function is intended to be added to `auto-coding-functions'." | |||
| 1959 | sym | 1959 | sym |
| 1960 | (message "Warning: unknown coding system \"%s\"" match) | 1960 | (message "Warning: unknown coding system \"%s\"" match) |
| 1961 | nil)))) | 1961 | nil)))) |
| 1962 | 1962 | ||
| 1963 | ;;; | 1963 | ;;; |
| 1964 | (provide 'mule) | 1964 | (provide 'mule) |
| 1965 | 1965 | ||