Replies: 3 comments 2 replies
-
IMO that's not a "very simply init.el", rather you are doing something quite unusual. If you figure this out, please post the result here. But meanwhile, I have too much on my hands to actively help you investigate this. I don't understand what you are trying to do and why, and it seems like an unnecessary complication to me. |
Beta Was this translation helpful? Give feedback.
-
To me, I’m just trying to call a function that is declared outside of init.
I’ll poke at it some more and see what I find.
… On Oct 24, 2022, at 12:22, Jonas Bernoulli ***@***.***> wrote:
IMO that's not a "very simply init.el", rather you are doing something quite unusual.
If you figure this out, please post the result here. But meanwhile, I have too much on my hands to actively help you investigate this. I don't understand what you are trying to do and why, and it seems like an unnecessary complication to me.
—
Reply to this email directly, view it on GitHub <#135 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAASST56CXAP7TQFP7UHJ3TWE3AVTANCNFSM6AAAAAARNGACY4>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Starting with just: (foo-dog "hi") which is just calling a function defined outside of init, it errors out in the same way. In If I comment out the
I add in the (declare-function ...) and the compile works. I'm guessing you do the load because you want the things that init loads to be defined? I'm not sure. My particular use case, I had a function that kept moving and evolving and I finally put it into early-init.el. Thus, when Emacs launches normally, it will be available. In any case, I'm just trying to help. |
Beta Was this translation helpful? Give feedback.
-
I trimmed my init.el down to just
and I do
make init-build
and this is the output:But, if I do it by hand with
emacs -Q --batch --eval '(byte-compile-file "init.el")'
it works.Update: I forgot to mention, I worked around the problem with:
Beta Was this translation helpful? Give feedback.
All reactions