You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -731,7 +731,7 @@ CL-USER 52 > (trace-macro)
731
731
```
732
732
733
733
### How it works, caveats
734
-
All `trace-macroexpand` does is to install a hook on `*macroexpand-hook` and use this to drive the tracing. It is careful to call any preexisting hook as well, so it does not interfere with anything else. However, don't unilaterally change `*macroexpand-hook*` while macro tracing is active: turn it off first, as things will become confused otherwise.
734
+
All `trace-macroexpand` does is to install a hook on `*macroexpand-hook` and use this to drive the tracing. It is careful to call any preexisting hook as well, so it does not interfere with anything else. However, don't unilaterally change `*macroexpand-hook*` while macro tracing is active: turn it off first, as things will become confused otherwise. If it detects bad states (for instance if tracing is off but the wrapped hook isn't `nil`, or if tracing seems to be on but the wrapped hook *is*`nil`) it will signal errors and there are restarts which may help recover. But it's best to not get into these states.
0 commit comments