Commit 6d3247d
committed
Tidy up friendly-session matcher after review
* Use `string-suffix-p` instead of an anchored regex for JAR detection.
* Use `delq nil` instead of `seq-remove #'null', matching codebase style.
* Tighten the connect-handler comment to one sentence.
* Soften the matcher's "never blocks" docstring claim (the ns/buffer
fallbacks can still hit the REPL).
* Explain why classpath uses `string-prefix-p` while classpath-roots
uses `file-in-directory-p` -- the two are intentionally asymmetric.1 parent b96e5d9 commit 6d3247d
2 files changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
| 305 | + | |
| 306 | + | |
309 | 307 | | |
310 | 308 | | |
311 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1787 | 1787 | | |
1788 | 1788 | | |
1789 | 1789 | | |
1790 | | - | |
| 1790 | + | |
1791 | 1791 | | |
1792 | | - | |
| 1792 | + | |
1793 | 1793 | | |
1794 | 1794 | | |
1795 | 1795 | | |
| |||
1815 | 1815 | | |
1816 | 1816 | | |
1817 | 1817 | | |
1818 | | - | |
1819 | | - | |
| 1818 | + | |
| 1819 | + | |
1820 | 1820 | | |
1821 | 1821 | | |
1822 | 1822 | | |
| |||
1851 | 1851 | | |
1852 | 1852 | | |
1853 | 1853 | | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
1854 | 1857 | | |
1855 | 1858 | | |
1856 | 1859 | | |
| |||
0 commit comments