diff options
| author | Kenichi Handa | 2010-09-27 13:52:56 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-09-27 13:52:56 +0900 |
| commit | 368b3544429556ff4c536b8f1d7d896f4a8e1787 (patch) | |
| tree | d22f90c0477ee644c59f68dba2f469a6086eda6a | |
| parent | 42d3022b00d62a27b9f3820b84032b92ac0b0363 (diff) | |
| download | emacs-368b3544429556ff4c536b8f1d7d896f4a8e1787.tar.gz emacs-368b3544429556ff4c536b8f1d7d896f4a8e1787.zip | |
international/mule-diag.el (describe-character-set): Use princ with proper print-length and print-level instead of insert.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/international/mule-diag.el | 3 | ||||
| -rw-r--r-- | lisp/international/mule.el | 17 |
3 files changed, 18 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 518ebc3cab7..ce0236e34d7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-09-27 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * international/mule.el (define-coding-system): Docstring fixed. | ||
| 4 | |||
| 5 | * international/mule-diag.el (describe-character-set): Use princ | ||
| 6 | with proper print-length and print-level instead of insert. | ||
| 7 | |||
| 1 | 2010-09-26 Juanma Barranquero <lekktu@gmail.com> | 8 | 2010-09-26 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 9 | ||
| 3 | * window.el (walk-windows): Doc fix (bug#7105). | 10 | * window.el (walk-windows): Doc fix (bug#7105). |
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index a809b60da7f..ed2f7e33a4c 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -368,7 +368,8 @@ meanings of these arguments." | |||
| 368 | (when val | 368 | (when val |
| 369 | (if (cadr elt) (insert (cadr elt))) | 369 | (if (cadr elt) (insert (cadr elt))) |
| 370 | (if (nth 2 elt) | 370 | (if (nth 2 elt) |
| 371 | (insert (funcall (nth 2 elt) val))) | 371 | (let ((print-length 10) (print-level 2)) |
| 372 | (princ (funcall (nth 2 elt) val) (current-buffer)))) | ||
| 372 | (insert ?\n))))))) | 373 | (insert ?\n))))))) |
| 373 | 374 | ||
| 374 | ;;; CODING-SYSTEM | 375 | ;;; CODING-SYSTEM |
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 105163a5d11..992c6bd16bb 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -642,18 +642,19 @@ VALUE must be a translation table to use on encoding. | |||
| 642 | 642 | ||
| 643 | VALUE must be a function to call after some text is inserted and | 643 | VALUE must be a function to call after some text is inserted and |
| 644 | decoded by the coding system itself and before any functions in | 644 | decoded by the coding system itself and before any functions in |
| 645 | `after-insert-functions' are called. The arguments to this function | 645 | `after-insert-functions' are called. This function is passed one |
| 646 | are the same as those of a function in `after-insert-file-functions', | 646 | argument; the number of characters in the text to convert, with |
| 647 | i.e. LENGTH of the text to be decoded with point at the head of it, | 647 | point at the start of the text. The function should leave point |
| 648 | and the function should leave point unchanged. | 648 | the same, and return the new character count. |
| 649 | 649 | ||
| 650 | `:pre-write-conversion' | 650 | `:pre-write-conversion' |
| 651 | 651 | ||
| 652 | VALUE must be a function to call after all functions in | 652 | VALUE must be a function to call after all functions in |
| 653 | `write-region-annotate-functions' and `buffer-file-format' are called, | 653 | `write-region-annotate-functions' and `buffer-file-format' are |
| 654 | and before the text is encoded by the coding system itself. The | 654 | called, and before the text is encoded by the coding system |
| 655 | arguments to this function are the same as those of a function in | 655 | itself. This function should convert the whole text in the |
| 656 | `write-region-annotate-functions'. | 656 | current buffer. For backward compatibility, this funciton is |
| 657 | passed two arguments which can be ignored. | ||
| 657 | 658 | ||
| 658 | `:default-char' | 659 | `:default-char' |
| 659 | 660 | ||