Once I enable a local major-mode. After some time I decided to remove it. So I deleted it from disk as well as from configuration (SPC f e d). But it is still available in my Spacemacs. At least I see all its functions in M :.

How I can remove it completely ? Is there sort of "compiled cache"?

I'm not even sure that this is just the eval history. Because I can call these functions/vars and see the result of their work. As if i didn't remove the major mode at all. Of course, I restarted my Spacemacs many times (SPC f e R).

  • 1
    Use commands like M-x locate-library or M-x find-library to find the location of your library.
    – Tobias
    Commented Feb 26, 2019 at 9:08

1 Answer 1


The problem was that all this time I had Emacs running in daemon mode, and I was using (and restarting) the client.

  • 2
    Please accept your own answer as soon as possible.
    – Tobias
    Commented Feb 26, 2019 at 10:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.