diff options
| author | Joakim Verona | 2013-07-20 01:44:36 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-07-20 01:44:36 +0200 |
| commit | 759dbb1aebe68fb392f7ed53eba4b460ae6b83be (patch) | |
| tree | 1becc0cc6d676589eb274cb2c457e4256e908010 /src/print.c | |
| parent | 6c1769c85ecb61b40a1f9a3b56b61cdd6c1f8992 (diff) | |
| parent | 3f5bef16fab0ba83cb2298f8137fec831af1aec4 (diff) | |
| download | emacs-759dbb1aebe68fb392f7ed53eba4b460ae6b83be.tar.gz emacs-759dbb1aebe68fb392f7ed53eba4b460ae6b83be.zip | |
Merge branch 'trunk' into xwidget
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/print.c b/src/print.c index f4062f6f48f..e55657d7d8c 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -201,11 +201,10 @@ bool print_output_debug_flag EXTERNALLY_VISIBLE = 1; | |||
| 201 | /* This is used to restore the saved contents of print_buffer | 201 | /* This is used to restore the saved contents of print_buffer |
| 202 | when there is a recursive call to print. */ | 202 | when there is a recursive call to print. */ |
| 203 | 203 | ||
| 204 | static Lisp_Object | 204 | static void |
| 205 | print_unwind (Lisp_Object saved_text) | 205 | print_unwind (Lisp_Object saved_text) |
| 206 | { | 206 | { |
| 207 | memcpy (print_buffer, SDATA (saved_text), SCHARS (saved_text)); | 207 | memcpy (print_buffer, SDATA (saved_text), SCHARS (saved_text)); |
| 208 | return Qnil; | ||
| 209 | } | 208 | } |
| 210 | 209 | ||
| 211 | 210 | ||
| @@ -772,8 +771,7 @@ append to existing target file. */) | |||
| 772 | { | 771 | { |
| 773 | stderr = initial_stderr_stream; | 772 | stderr = initial_stderr_stream; |
| 774 | initial_stderr_stream = NULL; | 773 | initial_stderr_stream = NULL; |
| 775 | report_file_error ("Cannot open debugging output stream", | 774 | report_file_error ("Cannot open debugging output stream", file); |
| 776 | Fcons (file, Qnil)); | ||
| 777 | } | 775 | } |
| 778 | } | 776 | } |
| 779 | return Qnil; | 777 | return Qnil; |
| @@ -1303,7 +1301,7 @@ print_prune_string_charset (Lisp_Object string) | |||
| 1303 | if (print_check_string_result & PRINT_STRING_NON_CHARSET_FOUND) | 1301 | if (print_check_string_result & PRINT_STRING_NON_CHARSET_FOUND) |
| 1304 | { | 1302 | { |
| 1305 | if (NILP (print_prune_charset_plist)) | 1303 | if (NILP (print_prune_charset_plist)) |
| 1306 | print_prune_charset_plist = Fcons (Qcharset, Qnil); | 1304 | print_prune_charset_plist = list1 (Qcharset); |
| 1307 | Fremove_text_properties (make_number (0), | 1305 | Fremove_text_properties (make_number (0), |
| 1308 | make_number (SCHARS (string)), | 1306 | make_number (SCHARS (string)), |
| 1309 | print_prune_charset_plist, string); | 1307 | print_prune_charset_plist, string); |