diff options
| author | Gerd Moellmann | 2001-09-25 11:38:24 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-25 11:38:24 +0000 |
| commit | b7a22712762d8e674480698bb851cb7776abdc35 (patch) | |
| tree | 73f0c5f9bc8dec59375feda95deaeb2a3dae0066 /src | |
| parent | 9fb2699ebaff57c723e1615bb46aaaa25e5f1738 (diff) | |
| download | emacs-b7a22712762d8e674480698bb851cb7776abdc35.tar.gz emacs-b7a22712762d8e674480698bb851cb7776abdc35.zip | |
(display_mode_element): If the mode element is a symbol
with a string value, use that string's multibyteness for
displaying.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1b596258496..509cd8d4005 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2001-09-25 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-09-25 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (display_mode_element): If the mode element is a symbol | ||
| 4 | with a string value, use that string's multibyteness for | ||
| 5 | displaying. | ||
| 6 | |||
| 3 | * keyboard.c (read_char): Don't clear a message for a switch-frame | 7 | * keyboard.c (read_char): Don't clear a message for a switch-frame |
| 4 | event. From Stefan Monnier <monnier@cs.yale.edu>. | 8 | event. From Stefan Monnier <monnier@cs.yale.edu>. |
| 5 | 9 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index cf518632aa1..e7ee384f381 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -13511,7 +13511,7 @@ display_mode_element (it, depth, field_width, precision, elt) | |||
| 13511 | n += store_frame_title (XSTRING (tem)->data, -1, prec); | 13511 | n += store_frame_title (XSTRING (tem)->data, -1, prec); |
| 13512 | else | 13512 | else |
| 13513 | n += display_string (NULL, tem, Qnil, 0, 0, it, | 13513 | n += display_string (NULL, tem, Qnil, 0, 0, it, |
| 13514 | 0, prec, 0, -1); | 13514 | 0, prec, 0, STRING_MULTIBYTE (tem)); |
| 13515 | } | 13515 | } |
| 13516 | else if (!EQ (tem, elt)) | 13516 | else if (!EQ (tem, elt)) |
| 13517 | { | 13517 | { |