and achieve the same thing? Also, what is the utility of this function to begin with? You define my/require-config-module-maybe-byte-compile in init.el within your if... block and I don't see a context when it would be called where my/require-config-module-maybe-byte-compile isn't bound. It seems like you could have just used my/require-config-module-maybe-byte-compile directly.
Why do you (require feature) the feature before (byte-compile-file source)? Supposing that the feature was successfully byte compiled, you later require the feature at the end again, which seems like an extra use of require. Why not just byte-compile the file, omitting the require statement prior, and then depend on the (require feature) statement at the end?
Thanks again, I hope it's not too much trouble. I am just trying to understand why you've done things certain ways.
I've been referencing this repo during the construction of my own config. Thank you for the code, it's very helpful!
I have a couple clarifying questions I hope you could answer so I understand the thought process behind a couple design choices.
First is this macro:
It's not immediately obvious to me why this is a macro and not just an average function. Couldn't this be rewritten like so:
and achieve the same thing? Also, what is the utility of this function to begin with? You define
my/require-config-module-maybe-byte-compile
ininit.el
within yourif...
block and I don't see a context when it would be called wheremy/require-config-module-maybe-byte-compile
isn't bound. It seems like you could have just usedmy/require-config-module-maybe-byte-compile
directly.Now, a question about
Why do you
(require feature)
the feature before(byte-compile-file source)
? Supposing that the feature was successfully byte compiled, you later require the feature at the end again, which seems like an extra use of require. Why not just byte-compile the file, omitting the require statement prior, and then depend on the(require feature)
statement at the end?Thanks again, I hope it's not too much trouble. I am just trying to understand why you've done things certain ways.