Mercurial > emacs
comparison src/dired.c @ 36106:809b31e54e13
(directory_files_internal): Set result list to nil
before retrying.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 16 Feb 2001 09:55:11 +0000 |
parents | b063eac9a89d |
children | e2b1703a8fe8 |
comparison
equal
deleted
inserted
replaced
36105:595ee2f062cf | 36106:809b31e54e13 |
---|---|
310 | 310 |
311 /* Discard the unwind protect. */ | 311 /* Discard the unwind protect. */ |
312 specpdl_ptr = specpdl + count; | 312 specpdl_ptr = specpdl + count; |
313 | 313 |
314 if (retry_p) | 314 if (retry_p) |
315 goto retry; | 315 { |
316 list = Qnil; | |
317 goto retry; | |
318 } | |
316 | 319 |
317 if (NILP (nosort)) | 320 if (NILP (nosort)) |
318 list = Fsort (Fnreverse (list), | 321 list = Fsort (Fnreverse (list), |
319 attrs ? Qfile_attributes_lessp : Qstring_lessp); | 322 attrs ? Qfile_attributes_lessp : Qstring_lessp); |
320 | 323 |