diff options
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/print.c b/src/print.c index 5535bb4446e..f26837055f2 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -37,14 +37,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 37 | #include "termhooks.h" /* For struct terminal. */ | 37 | #include "termhooks.h" /* For struct terminal. */ |
| 38 | #include "font.h" | 38 | #include "font.h" |
| 39 | 39 | ||
| 40 | Lisp_Object Qstandard_output; | ||
| 41 | |||
| 42 | static Lisp_Object Qtemp_buffer_setup_hook; | ||
| 43 | |||
| 44 | /* These are used to print like we read. */ | ||
| 45 | |||
| 46 | static Lisp_Object Qfloat_output_format; | ||
| 47 | |||
| 48 | #include <float.h> | 40 | #include <float.h> |
| 49 | #include <ftoastr.h> | 41 | #include <ftoastr.h> |
| 50 | 42 | ||
| @@ -72,9 +64,6 @@ static ptrdiff_t print_buffer_pos; | |||
| 72 | /* Bytes stored in print_buffer. */ | 64 | /* Bytes stored in print_buffer. */ |
| 73 | static ptrdiff_t print_buffer_pos_byte; | 65 | static ptrdiff_t print_buffer_pos_byte; |
| 74 | 66 | ||
| 75 | Lisp_Object Qprint_escape_newlines; | ||
| 76 | static Lisp_Object Qprint_escape_multibyte, Qprint_escape_nonascii; | ||
| 77 | |||
| 78 | /* Vprint_number_table is a table, that keeps objects that are going to | 67 | /* Vprint_number_table is a table, that keeps objects that are going to |
| 79 | be printed, to allow use of #n= and #n# to express sharing. | 68 | be printed, to allow use of #n= and #n# to express sharing. |
| 80 | For any given object, the table can give the following values: | 69 | For any given object, the table can give the following values: |
| @@ -507,7 +496,7 @@ temp_output_buffer_setup (const char *bufname) | |||
| 507 | Ferase_buffer (); | 496 | Ferase_buffer (); |
| 508 | XSETBUFFER (buf, current_buffer); | 497 | XSETBUFFER (buf, current_buffer); |
| 509 | 498 | ||
| 510 | Frun_hooks (1, &Qtemp_buffer_setup_hook); | 499 | run_hook (Qtemp_buffer_setup_hook); |
| 511 | 500 | ||
| 512 | unbind_to (count, Qnil); | 501 | unbind_to (count, Qnil); |
| 513 | 502 | ||
| @@ -716,10 +705,6 @@ is used instead. */) | |||
| 716 | return object; | 705 | return object; |
| 717 | } | 706 | } |
| 718 | 707 | ||
| 719 | /* The subroutine object for external-debugging-output is kept here | ||
| 720 | for the convenience of the debugger. */ | ||
| 721 | Lisp_Object Qexternal_debugging_output; | ||
| 722 | |||
| 723 | DEFUN ("external-debugging-output", Fexternal_debugging_output, Sexternal_debugging_output, 1, 1, 0, | 708 | DEFUN ("external-debugging-output", Fexternal_debugging_output, Sexternal_debugging_output, 1, 1, 0, |
| 724 | doc: /* Write CHARACTER to stderr. | 709 | doc: /* Write CHARACTER to stderr. |
| 725 | You can call print while debugging emacs, and pass it this function | 710 | You can call print while debugging emacs, and pass it this function |
| @@ -2220,7 +2205,10 @@ print_interval (INTERVAL interval, Lisp_Object printcharfun) | |||
| 2220 | void | 2205 | void |
| 2221 | init_print_once (void) | 2206 | init_print_once (void) |
| 2222 | { | 2207 | { |
| 2208 | /* The subroutine object for external-debugging-output is kept here | ||
| 2209 | for the convenience of the debugger. */ | ||
| 2223 | DEFSYM (Qexternal_debugging_output, "external-debugging-output"); | 2210 | DEFSYM (Qexternal_debugging_output, "external-debugging-output"); |
| 2211 | |||
| 2224 | defsubr (&Sexternal_debugging_output); | 2212 | defsubr (&Sexternal_debugging_output); |
| 2225 | } | 2213 | } |
| 2226 | 2214 | ||