diff options
| author | Joakim Verona | 2012-08-19 02:44:11 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-08-19 02:44:11 +0200 |
| commit | 5436d1df5e2ba0b4d4f72b03a1cd09b20403654b (patch) | |
| tree | 532faa27319b3bb199d414dc85e63a58246d30b0 /src/print.c | |
| parent | d02344322b0d2fea8dd9ad9dd0a6c70e058f967b (diff) | |
| parent | e757f1c6f393cf82057dbee0a4325b07f0fd55c4 (diff) | |
| download | emacs-5436d1df5e2ba0b4d4f72b03a1cd09b20403654b.tar.gz emacs-5436d1df5e2ba0b4d4f72b03a1cd09b20403654b.zip | |
upstream
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/print.c b/src/print.c index 1546ab3e229..e7da5a25643 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -496,14 +496,14 @@ temp_output_buffer_setup (const char *bufname) | |||
| 496 | 496 | ||
| 497 | Fkill_all_local_variables (); | 497 | Fkill_all_local_variables (); |
| 498 | delete_all_overlays (current_buffer); | 498 | delete_all_overlays (current_buffer); |
| 499 | BSET (current_buffer, directory, BVAR (old, directory)); | 499 | bset_directory (current_buffer, BVAR (old, directory)); |
| 500 | BSET (current_buffer, read_only, Qnil); | 500 | bset_read_only (current_buffer, Qnil); |
| 501 | BSET (current_buffer, filename, Qnil); | 501 | bset_filename (current_buffer, Qnil); |
| 502 | BSET (current_buffer, undo_list, Qt); | 502 | bset_undo_list (current_buffer, Qt); |
| 503 | eassert (current_buffer->overlays_before == NULL); | 503 | eassert (current_buffer->overlays_before == NULL); |
| 504 | eassert (current_buffer->overlays_after == NULL); | 504 | eassert (current_buffer->overlays_after == NULL); |
| 505 | BSET (current_buffer, enable_multibyte_characters, | 505 | bset_enable_multibyte_characters |
| 506 | BVAR (&buffer_defaults, enable_multibyte_characters)); | 506 | (current_buffer, BVAR (&buffer_defaults, enable_multibyte_characters)); |
| 507 | specbind (Qinhibit_read_only, Qt); | 507 | specbind (Qinhibit_read_only, Qt); |
| 508 | specbind (Qinhibit_modification_hooks, Qt); | 508 | specbind (Qinhibit_modification_hooks, Qt); |
| 509 | Ferase_buffer (); | 509 | Ferase_buffer (); |
| @@ -1196,7 +1196,7 @@ print_preprocess (Lisp_Object obj) | |||
| 1196 | { | 1196 | { |
| 1197 | case Lisp_String: | 1197 | case Lisp_String: |
| 1198 | /* A string may have text properties, which can be circular. */ | 1198 | /* A string may have text properties, which can be circular. */ |
| 1199 | traverse_intervals_noorder (string_get_intervals (obj), | 1199 | traverse_intervals_noorder (string_intervals (obj), |
| 1200 | print_preprocess_string, Qnil); | 1200 | print_preprocess_string, Qnil); |
| 1201 | break; | 1201 | break; |
| 1202 | 1202 | ||
| @@ -1299,7 +1299,7 @@ static Lisp_Object | |||
| 1299 | print_prune_string_charset (Lisp_Object string) | 1299 | print_prune_string_charset (Lisp_Object string) |
| 1300 | { | 1300 | { |
| 1301 | print_check_string_result = 0; | 1301 | print_check_string_result = 0; |
| 1302 | traverse_intervals (string_get_intervals (string), 0, | 1302 | traverse_intervals (string_intervals (string), 0, |
| 1303 | print_check_string_charset_prop, string); | 1303 | print_check_string_charset_prop, string); |
| 1304 | if (! (print_check_string_result & PRINT_STRING_UNSAFE_CHARSET_FOUND)) | 1304 | if (! (print_check_string_result & PRINT_STRING_UNSAFE_CHARSET_FOUND)) |
| 1305 | { | 1305 | { |
| @@ -1410,7 +1410,7 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag | |||
| 1410 | if (! EQ (Vprint_charset_text_property, Qt)) | 1410 | if (! EQ (Vprint_charset_text_property, Qt)) |
| 1411 | obj = print_prune_string_charset (obj); | 1411 | obj = print_prune_string_charset (obj); |
| 1412 | 1412 | ||
| 1413 | if (string_get_intervals (obj)) | 1413 | if (string_intervals (obj)) |
| 1414 | { | 1414 | { |
| 1415 | PRINTCHAR ('#'); | 1415 | PRINTCHAR ('#'); |
| 1416 | PRINTCHAR ('('); | 1416 | PRINTCHAR ('('); |
| @@ -1501,9 +1501,9 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag | |||
| 1501 | } | 1501 | } |
| 1502 | PRINTCHAR ('\"'); | 1502 | PRINTCHAR ('\"'); |
| 1503 | 1503 | ||
| 1504 | if (string_get_intervals (obj)) | 1504 | if (string_intervals (obj)) |
| 1505 | { | 1505 | { |
| 1506 | traverse_intervals (string_get_intervals (obj), | 1506 | traverse_intervals (string_intervals (obj), |
| 1507 | 0, print_interval, printcharfun); | 1507 | 0, print_interval, printcharfun); |
| 1508 | PRINTCHAR (')'); | 1508 | PRINTCHAR (')'); |
| 1509 | } | 1509 | } |