diff options
author | Kim F. Storm <storm@cua.dk> | 2005-01-19 00:08:30 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2005-01-19 00:08:30 +0000 |
commit | d278cde036f9fa0f56b5a0b49baf498f13ebf332 (patch) | |
tree | 4f392d4624c84b071ed2dc00141aca98991ef70e /src/fns.c | |
parent | 27c8be45853e36f389baf79457b4bdf9b47b2cbd (diff) | |
download | emacs-d278cde036f9fa0f56b5a0b49baf498f13ebf332.tar.gz |
(sweep_weak_table): Advance prev pointer when we keep a pair.
Diffstat (limited to 'src/fns.c')
-rw-r--r-- | src/fns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c index 3f92a0e0bfb..9a3121a3391 100644 --- a/src/fns.c +++ b/src/fns.c @@ -4836,6 +4836,10 @@ sweep_weak_table (h, remove_entries_p) h->count = make_number (XFASTINT (h->count) - 1); } + else + { + prev = idx; + } } else { |