spacemacs_module_for_doom icon indicating copy to clipboard operation
spacemacs_module_for_doom copied to clipboard

Error when loading last session

Open Pelagius740 opened this issue 1 year ago • 0 comments

Hello, and thank you for making this module.

There's an error I've been having for quite a while now. I recently updated to Emacs 29.2, but it was also happening on 29.1, and maybe on older versions too, but I'm not so sure about that. The error in question happens when trying to load my last session (doom/quickload-session) the first time. When I try to load it again, it loads without problem. The error says:

Symbol’s function definition is void: configuration-layer/package-used-p

When I was trying to discover the source of the error I was able to get this more detailed message:

error (window-setup-hook): error running hook "doom-load-session" because: (void-function configuration-layer/package-used-p)

I've tried, a while ago, with a clean Doom install, I've tried the two install methods, but nothing. It seems to be loading, because I can see the variables being set and can call the callable functions. I've tried adding that specific function (configuration-layer/package-used-p) to my config.el and I keep getting the error, but it complains about a different function.

I've been thinking it could have to do about my Emacs version, that or maybe I'm doing something wrong. What do you think?

Pelagius740 avatar Feb 04 '24 21:02 Pelagius740