diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index 9fe8bc30c1c..ed26603695b 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -226,6 +226,9 @@ void print_interval (); | |||
| 226 | if (NILP (current_buffer->enable_multibyte_characters) \ | 226 | if (NILP (current_buffer->enable_multibyte_characters) \ |
| 227 | && ! print_escape_multibyte) \ | 227 | && ! print_escape_multibyte) \ |
| 228 | specbind (Qprint_escape_multibyte, Qt); \ | 228 | specbind (Qprint_escape_multibyte, Qt); \ |
| 229 | if (! NILP (current_buffer->enable_multibyte_characters) \ | ||
| 230 | && ! print_escape_nonascii) \ | ||
| 231 | specbind (Qprint_escape_nonascii, Qt); \ | ||
| 229 | if (print_buffer != 0) \ | 232 | if (print_buffer != 0) \ |
| 230 | { \ | 233 | { \ |
| 231 | string = make_string_from_bytes (print_buffer, \ | 234 | string = make_string_from_bytes (print_buffer, \ |
| @@ -1427,7 +1430,7 @@ print_object (obj, printcharfun, escapeflag) | |||
| 1427 | PRINTCHAR ('f'); | 1430 | PRINTCHAR ('f'); |
| 1428 | } | 1431 | } |
| 1429 | else if (multibyte && ! ASCII_BYTE_P (c) | 1432 | else if (multibyte && ! ASCII_BYTE_P (c) |
| 1430 | && (print_escape_multibyte || print_escape_nonascii)) | 1433 | && print_escape_multibyte) |
| 1431 | { | 1434 | { |
| 1432 | /* When multibyte is disabled, | 1435 | /* When multibyte is disabled, |
| 1433 | print multibyte string chars using hex escapes. */ | 1436 | print multibyte string chars using hex escapes. */ |