changeset 76109:578d1182b478

(print): Reset print_number_index if Vprint_number_table is nil.
author Kim F. Storm <storm@cua.dk>
date Fri, 23 Feb 2007 23:26:27 +0000
parents 6d03d65b8037
children d6f2673064e7
files src/print.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Fri Feb 23 21:49:04 2007 +0000
+++ b/src/print.c	Fri Feb 23 23:26:27 2007 +0000
@@ -1292,7 +1292,8 @@
      the variable Vprint_continuous_numbering is nil.  Otherwise,
      the values of these variables will be kept between several
      print functions.  */
-  if (NILP (Vprint_continuous_numbering))
+  if (NILP (Vprint_continuous_numbering)
+      || NILP (Vprint_number_table))
     {
       print_number_index = 0;
       Vprint_number_table = Qnil;