Actually, I take it back, it appears to be sit in this patch. https://github.com/macports/macports-ports/blob/master/editors/emacs/files/site-start.el This appears to be a MacPorts packaging issue, you can close this. Jimmy On Sun, May 28, 2023 at 10:47 AM Jimmy Yuen Ho Wong wrote: > Nope, it's all automatic. Something somewhere in the NS port is setting > `treesit-extra-load-path' correctly, despite both ports were compiled with > LDFLAGS='-L/opt/local/lib' > > Jimmy > > > On Sun, May 28, 2023 at 10:42 AM Eli Zaretskii wrote: > >> > From: Jimmy Yuen Ho Wong >> > Date: Sun, 28 May 2023 10:27:16 +0100 >> > Cc: 63762@debbugs.gnu.org >> > >> > gdb doesn't work with clang and I have a hard time using lldb, all I >> can say for sure is, for some >> > reason, `treesit-extra-load-path' is nil when running TTY emacs on >> macOS, whereas it is set to ' >> > ("/opt/local/lib") on the NS port. >> >> treesit-extra-load-path is nil in my session, and that is its normal >> value. How did you get it set to something non-nil in the NS build? >> I see nothing in the sources, so maybe it's your customizations? >> >