aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
authorMichael R. Mauger2017-07-24 22:15:04 -0400
committerMichael R. Mauger2017-07-24 22:15:04 -0400
commitdf1a71272e5cdd10b511e2ffd702ca50ddd8a773 (patch)
tree9b9ac725394ee80891e2bff57b6407d0e491e71a /src/print.c
parenteb27fc4d49e8c914cd0e6a8a2d02159601542141 (diff)
parent32daa3cb54523006c88717cbeac87964cd687a1b (diff)
downloademacs-df1a71272e5cdd10b511e2ffd702ca50ddd8a773.tar.gz
emacs-df1a71272e5cdd10b511e2ffd702ca50ddd8a773.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/print.c b/src/print.c
index 50c75d7712c..12edf015892 100644
--- a/src/print.c
+++ b/src/print.c
@@ -566,7 +566,7 @@ temp_output_buffer_setup (const char *bufname)
566 566
567static void print (Lisp_Object, Lisp_Object, bool); 567static void print (Lisp_Object, Lisp_Object, bool);
568static void print_preprocess (Lisp_Object); 568static void print_preprocess (Lisp_Object);
569static void print_preprocess_string (INTERVAL, Lisp_Object); 569static void print_preprocess_string (INTERVAL, void *);
570static void print_object (Lisp_Object, Lisp_Object, bool); 570static void print_object (Lisp_Object, Lisp_Object, bool);
571 571
572DEFUN ("terpri", Fterpri, Sterpri, 0, 2, 0, 572DEFUN ("terpri", Fterpri, Sterpri, 0, 2, 0,
@@ -1214,7 +1214,7 @@ print_preprocess (Lisp_Object obj)
1214 case Lisp_String: 1214 case Lisp_String:
1215 /* A string may have text properties, which can be circular. */ 1215 /* A string may have text properties, which can be circular. */
1216 traverse_intervals_noorder (string_intervals (obj), 1216 traverse_intervals_noorder (string_intervals (obj),
1217 print_preprocess_string, Qnil); 1217 print_preprocess_string, NULL);
1218 break; 1218 break;
1219 1219
1220 case Lisp_Cons: 1220 case Lisp_Cons:
@@ -1263,7 +1263,7 @@ Fills `print-number-table'. */)
1263} 1263}
1264 1264
1265static void 1265static void
1266print_preprocess_string (INTERVAL interval, Lisp_Object arg) 1266print_preprocess_string (INTERVAL interval, void *arg)
1267{ 1267{
1268 print_preprocess (interval->plist); 1268 print_preprocess (interval->plist);
1269} 1269}
@@ -1748,7 +1748,7 @@ print_object (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag)
1748 char buf[max (sizeof "from..to..in " + 2 * INT_STRLEN_BOUND (EMACS_INT), 1748 char buf[max (sizeof "from..to..in " + 2 * INT_STRLEN_BOUND (EMACS_INT),
1749 max (sizeof " . #" + INT_STRLEN_BOUND (printmax_t), 1749 max (sizeof " . #" + INT_STRLEN_BOUND (printmax_t),
1750 40))]; 1750 40))];
1751 1751 current_thread->stack_top = buf;
1752 maybe_quit (); 1752 maybe_quit ();
1753 1753
1754 /* Detect circularities and truncate them. */ 1754 /* Detect circularities and truncate them. */