Another ; error: bad argument type: consp nil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm suspecting that (vl-file-systime) is the culprit.
I built an ambitious FindFiles routine that looks through the entire CADD server for DWG files matching dialogue inputs for filtering (oldest year, town, dwg spec, client). In testing, every now and then it would crash with this error. Part of my process is to display the matching files with dates in a list_box so that a sort button will redisplay the list. To convert the systime date in the format (2020 03 22 ...) I am using the nth function to get the month and year and converting to a string "2020/3/22" which is easily sortable. All the other code is very tight so I am wondering if vl-file-systime sometimes returns nil. That would explain the error.
I might try catching the error in my own @Anonymous_date function to replace the error with a date like "????/??/??"
Any opinions?
BTW, it's not as slow as one might think. It's a lot more useful than Explorer. Plus I added an "Open" button.
John F. Uhden