diff options
| author | Kenichi Handa | 2005-12-07 07:28:37 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2005-12-07 07:28:37 +0000 |
| commit | 735b7c87d4ac54fd56c876a013d0052c899a4afa (patch) | |
| tree | e39e4851a8a633e76b5abf7f1017f605a24e1311 | |
| parent | 6a6e859a93e0b5eb714c2bc4770bfef871e34ebd (diff) | |
| download | emacs-735b7c87d4ac54fd56c876a013d0052c899a4afa.tar.gz emacs-735b7c87d4ac54fd56c876a013d0052c899a4afa.zip | |
(set-display-table-and-terminal-coding-system): If the coding
system specified in `unibyte-display' property is different from
the arg coding-system, don't setup standard-display-table.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/international/mule-cmds.el | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9061ec433a4..c62577f4e40 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2005-12-07 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * international/mule-cmds.el | ||
| 4 | (set-display-table-and-terminal-coding-system): If the coding | ||
| 5 | system specified in `unibyte-display' property is different from | ||
| 6 | the arg coding-system, don't setup standard-display-table. | ||
| 7 | |||
| 1 | 2005-12-06 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2005-12-06 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * emacs-lisp/edebug.el (edebug-skip-whitespace): read1:lread.c says | 10 | * emacs-lisp/edebug.el (edebug-skip-whitespace): read1:lread.c says |
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 57791409fdd..7756aa58ccd 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -1798,7 +1798,9 @@ The default status is as follows: | |||
| 1798 | (defun set-display-table-and-terminal-coding-system (language-name &optional coding-system) | 1798 | (defun set-display-table-and-terminal-coding-system (language-name &optional coding-system) |
| 1799 | "Set up the display table and terminal coding system for LANGUAGE-NAME." | 1799 | "Set up the display table and terminal coding system for LANGUAGE-NAME." |
| 1800 | (let ((coding (get-language-info language-name 'unibyte-display))) | 1800 | (let ((coding (get-language-info language-name 'unibyte-display))) |
| 1801 | (if coding | 1801 | (if (and coding |
| 1802 | (or (not coding-system) | ||
| 1803 | (coding-system-equal coding coding-system))) | ||
| 1802 | (standard-display-european-internal) | 1804 | (standard-display-european-internal) |
| 1803 | ;; The following 2 lines undo the 8-bit display that we set up | 1805 | ;; The following 2 lines undo the 8-bit display that we set up |
| 1804 | ;; in standard-display-european-internal, which see. This is in | 1806 | ;; in standard-display-european-internal, which see. This is in |