diff options
| author | Tom Tromey | 2013-07-26 14:02:53 -0600 |
|---|---|---|
| committer | Tom Tromey | 2013-07-26 14:02:53 -0600 |
| commit | cc231cbe45d27a1906d268fb72d3b4105a2e9c65 (patch) | |
| tree | c011828e2a3a18e77eaa8849e3cccb805d798f42 /src/print.c | |
| parent | b34a529f177a6ea32da5cb1254f91bf9d71838db (diff) | |
| parent | fec9206062b420aca84f53d05a72c3ee43244022 (diff) | |
| download | emacs-cc231cbe45d27a1906d268fb72d3b4105a2e9c65.tar.gz emacs-cc231cbe45d27a1906d268fb72d3b4105a2e9c65.zip | |
merge from trunk
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 01e490dcbad..ec14b7be93c 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -199,11 +199,10 @@ bool print_output_debug_flag EXTERNALLY_VISIBLE = 1; | |||
| 199 | /* This is used to restore the saved contents of print_buffer | 199 | /* This is used to restore the saved contents of print_buffer |
| 200 | when there is a recursive call to print. */ | 200 | when there is a recursive call to print. */ |
| 201 | 201 | ||
| 202 | static Lisp_Object | 202 | static void |
| 203 | print_unwind (Lisp_Object saved_text) | 203 | print_unwind (Lisp_Object saved_text) |
| 204 | { | 204 | { |
| 205 | memcpy (print_buffer, SDATA (saved_text), SCHARS (saved_text)); | 205 | memcpy (print_buffer, SDATA (saved_text), SCHARS (saved_text)); |
| 206 | return Qnil; | ||
| 207 | } | 206 | } |
| 208 | 207 | ||
| 209 | 208 | ||
| @@ -770,8 +769,7 @@ append to existing target file. */) | |||
| 770 | { | 769 | { |
| 771 | stderr = initial_stderr_stream; | 770 | stderr = initial_stderr_stream; |
| 772 | initial_stderr_stream = NULL; | 771 | initial_stderr_stream = NULL; |
| 773 | report_file_error ("Cannot open debugging output stream", | 772 | report_file_error ("Cannot open debugging output stream", file); |
| 774 | Fcons (file, Qnil)); | ||
| 775 | } | 773 | } |
| 776 | } | 774 | } |
| 777 | return Qnil; | 775 | return Qnil; |
| @@ -1301,7 +1299,7 @@ print_prune_string_charset (Lisp_Object string) | |||
| 1301 | if (print_check_string_result & PRINT_STRING_NON_CHARSET_FOUND) | 1299 | if (print_check_string_result & PRINT_STRING_NON_CHARSET_FOUND) |
| 1302 | { | 1300 | { |
| 1303 | if (NILP (print_prune_charset_plist)) | 1301 | if (NILP (print_prune_charset_plist)) |
| 1304 | print_prune_charset_plist = Fcons (Qcharset, Qnil); | 1302 | print_prune_charset_plist = list1 (Qcharset); |
| 1305 | Fremove_text_properties (make_number (0), | 1303 | Fremove_text_properties (make_number (0), |
| 1306 | make_number (SCHARS (string)), | 1304 | make_number (SCHARS (string)), |
| 1307 | print_prune_charset_plist, string); | 1305 | print_prune_charset_plist, string); |