This fixes a couple bugs with this macro: - Nested %-refs (in nested fn!'s) were interpolated as arguments of the outer-most fn!. E.g. (fn! (fn! %2)) would expand to: Before this fix: (lambda (_%1 %2) (lambda (_%1 %2) %2)) After this fix: (lambda () (lambda (_%1 %2) %2)) - Unused arguments were not only listed in the wrong order, they were off-by-one. E.g. (fn! %3 %5) expands to (lambda (_%4 _%3 %3 _%1 %5) %3 %5) This never caused any actual issues, but it was unexpected. I've also moved the lookup table to `fn!`, and removed unnecessary entries from it. |
||
---|---|---|
.. | ||
cli | ||
lib | ||
doom-cli-lib.el | ||
doom-cli.el | ||
doom-editor.el | ||
doom-keybinds.el | ||
doom-lib.el | ||
doom-modules.el | ||
doom-packages.el | ||
doom-projects.el | ||
doom-start.el | ||
doom-ui.el | ||
doom.el | ||
packages.el |