Closed aadcg closed 8 months ago
@joaotavora friendly ping.
OK, I merged this with a tweak to the commit message (in the future, using the format described in CONTRIBUTE
and used in other commits is advisable)
But I still don't understand the use case.The backtrace is cut off after the first frame: seeing more frames would clear it up.
For future reference, trivial-indent
defines the with-symbol
macro that executes foo-body
when module "SLYNK/INDENTATION"
is loaded on the following call (with-symbol (foo-name foo-symbol :slynk "SLYNK/INDENTATION") foo-body)
. In other words, when module "SLYNK/INDENTATION"
isn't loaded (the usual case when compiling CL code in a non-interactive fashion) then the body of with-symbol
is a no-op and this case doesn't need to be handled.
While rare, slynk/indentation
may be a member of *modules*
, which justifies this fix.
Closes #470.
My use-case is as follows: Nyxt depends on
slynk/indentation
andlass
, which in turn callsindent:define-indentation
fromtrivial-indent
. Without this fix, it would raise the error below.