Fixes cl-markdown TOC crash and issue with directory source listing.
1. cl-markdown was crashing on its TOC processing on CL implementations (e.g. SBCL 1.4.*+) which have DESTRUCTURING-BIND treat non-toplevel () as a nested empty pattern, rather than just a shorthand for an ignored item as sometimes was being done in older, non-conforming code. The patch introduced by this commit fixes these non-comforming instances in CL-MARKDOWN. Note that CL-MARKDOWN is not using multiple-value-bind directly, but rather relies on the "metabang.bind" system - so maybe it can be fixed there. As noted in patches.lisp, a merge request has been lodged against cl-markdown. They are the same author as metabang.bind, so they can decide whether to accept this MR or fix it in metabang.bind instead. 2. On some implementations, the `process-static` function in `process.lisp` was spuriously picking up subdirectories in its `sources` list (where it expected just a list of source files). Now we are filtering out anything which looks like a directory (i.e. a non-file directory entry) by using `uiop:/filesystem:directory-exists-p`.
Showing with 85 additions and 0 deletions