diff options
| author | Kim F. Storm | 2007-02-23 23:26:27 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2007-02-23 23:26:27 +0000 |
| commit | e026eb896c4109a93015bdc6b3bd8f3fc5ecddd5 (patch) | |
| tree | af3fa0a4ae6eb735de7f9bfc2d7b63d976618921 /src/print.c | |
| parent | a953a5287483872c9d02820ac776bbbe2ae8fce1 (diff) | |
| download | emacs-e026eb896c4109a93015bdc6b3bd8f3fc5ecddd5.tar.gz emacs-e026eb896c4109a93015bdc6b3bd8f3fc5ecddd5.zip | |
(print): Reset print_number_index if Vprint_number_table is nil.
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index 88781080e6c..e3f60e06fcc 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -1292,7 +1292,8 @@ print (obj, printcharfun, escapeflag) | |||
| 1292 | the variable Vprint_continuous_numbering is nil. Otherwise, | 1292 | the variable Vprint_continuous_numbering is nil. Otherwise, |
| 1293 | the values of these variables will be kept between several | 1293 | the values of these variables will be kept between several |
| 1294 | print functions. */ | 1294 | print functions. */ |
| 1295 | if (NILP (Vprint_continuous_numbering)) | 1295 | if (NILP (Vprint_continuous_numbering) |
| 1296 | || NILP (Vprint_number_table)) | ||
| 1296 | { | 1297 | { |
| 1297 | print_number_index = 0; | 1298 | print_number_index = 0; |
| 1298 | Vprint_number_table = Qnil; | 1299 | Vprint_number_table = Qnil; |