byulparan / cl-collider

A SuperCollider client for CommonLisp
Other
224 stars 24 forks source link

Avoid pathname errors, implement `*server-boot-hooks*`, formatting improvements. #131

Closed defaultxr closed 11 months ago

defaultxr commented 11 months ago

Hi. This PR has 3 relatively minor changes:

For example, if a file /Users/user/huh?.txt exists, (probe-file "/Users/user/huh?.txt") will give an error.

I added file-exists-p which does not have this issue, and fixed full-pathname as well.

This is mostly for consistency with *server-quit-hooks*.

Mostly indentation and the like, but also a few minor code changes to improve clarity/consistency.

byulparan commented 11 months ago

(sc::full-pathname "~/Desktop/foo.txt") is not convert full-pathname. so I was some improve it. 738937c9f762cdc32ff5cc2eb0ba2dc5eb9b7a14