Closed y0sik closed 2 years ago
Ah, good job spotting the issue and the cause behind it. Should be fixed with eb95d42. Please let me know if the applied patch has fixed the issue for you and then close this issue. :-).
Yes, everything is working now, thanks.
Problem
It looks like values from
compile-multi-forms
are not substituted intocompile-multi-config
.Example
Can be reproduced in
emacs -Q
(setq compile-multi-forms '((file-name . (buffer-file-name))))
(setq compile-multi-config '((t ("say file name" "echo" file-name))))
compile-multi
in some file, it will complain: Invalid function: "say file name"(setq compile-multi-config '((t ("say file name" "echo" (buffer-file-name)))))
compile-multi
in some file, it will work correctlyPossible source of the problem
These lines are somewhat suspicious: https://github.com/mohkale/compile-multi/blob/f4c315734a095a4ca9b0d085ccd5556106008428/compile-multi.el#L110-L115
If I change
let*
to this, everything works fine: