Giter Site home page Giter Site logo

Comments (7)

hlissner avatar hlissner commented on May 17, 2024

I think this was caused by #5b9a32 and fixed in #ca3628. I was experimenting with lexical-binding, which messes with doom-initialize-packages, which doom/recompile (and doom/reload-autoloads uses.

It snuck into that first commit without me realizing. If you could, please update and see if the issue is still around. Sorry about that!

from doomemacs.

hlissner avatar hlissner commented on May 17, 2024

Another possibility: once byte compiled, package.el is not initialized, so none of the package-* functions will be available. If any part of a module (with def-package! calls) fails to compile during compilation for whatever reason, then you'll get this error.

So, I've added a check to def-package! just in case that ever happens.

from doomemacs.

rjww avatar rjww commented on May 17, 2024

Whatever it was, it looks like it's fine after the most recent commit. Thanks!

from doomemacs.

rjww avatar rjww commented on May 17, 2024

Wait, sorry, now the modeline isn't showing up.

from doomemacs.

hlissner avatar hlissner commented on May 17, 2024

Try reloading the autoloads: make autoloads or doom/reload-autoloads. I've changed some of the autoloaded functions doom-modeline depends on within the last 20 minutes.

from doomemacs.

rjww avatar rjww commented on May 17, 2024

Yep, I'm an idiot. Thanks again!

from doomemacs.

hlissner avatar hlissner commented on May 17, 2024

No problem! Sorry for all the breaking updates.

from doomemacs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.