diff options
| author | Kenichi Handa | 2005-03-29 01:26:33 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2005-03-29 01:26:33 +0000 |
| commit | 6a17cee0f7b1864fe9d96ecc4a25ddbd204c57d5 (patch) | |
| tree | a14031bf954804f984b54dffe1fb34e39e072fae | |
| parent | 1f912e994c0abccaba6c7f37e272e781104d5b0d (diff) | |
| download | emacs-6a17cee0f7b1864fe9d96ecc4a25ddbd204c57d5.tar.gz emacs-6a17cee0f7b1864fe9d96ecc4a25ddbd204c57d5.zip | |
Add comments before all calls of update-coding-systems-internal.
| -rw-r--r-- | lisp/international/mule-cmds.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 5ca08b78453..4957a7cfc7e 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -384,6 +384,7 @@ See also `coding-category-list' and `coding-system-category'." | |||
| 384 | ;; CODING-SYSTEM is no-conversion or undecided. | 384 | ;; CODING-SYSTEM is no-conversion or undecided. |
| 385 | (error "Can't prefer the coding system `%s'" coding-system)) | 385 | (error "Can't prefer the coding system `%s'" coding-system)) |
| 386 | (set coding-category (or base coding-system)) | 386 | (set coding-category (or base coding-system)) |
| 387 | ;; Changing the binding of a coding category requires this call. | ||
| 387 | (update-coding-systems-internal) | 388 | (update-coding-systems-internal) |
| 388 | (or (eq coding-category (car coding-category-list)) | 389 | (or (eq coding-category (car coding-category-list)) |
| 389 | ;; We must change the order. | 390 | ;; We must change the order. |
| @@ -1691,6 +1692,7 @@ The default status is as follows: | |||
| 1691 | coding-category-ccl | 1692 | coding-category-ccl |
| 1692 | coding-category-binary)) | 1693 | coding-category-binary)) |
| 1693 | 1694 | ||
| 1695 | ;; Changing the binding of a coding category requires this call. | ||
| 1694 | (update-coding-systems-internal) | 1696 | (update-coding-systems-internal) |
| 1695 | 1697 | ||
| 1696 | (set-default-coding-systems nil) | 1698 | (set-default-coding-systems nil) |
| @@ -1904,6 +1906,7 @@ of `buffer-file-coding-system' set by this function." | |||
| 1904 | (while priority | 1906 | (while priority |
| 1905 | (set (car categories) (car priority)) | 1907 | (set (car categories) (car priority)) |
| 1906 | (setq priority (cdr priority) categories (cdr categories))) | 1908 | (setq priority (cdr priority) categories (cdr categories))) |
| 1909 | ;; Changing the binding of a coding category requires this call. | ||
| 1907 | (update-coding-systems-internal))))) | 1910 | (update-coding-systems-internal))))) |
| 1908 | 1911 | ||
| 1909 | (defsubst princ-list (&rest args) | 1912 | (defsubst princ-list (&rest args) |