I'm using doom emacs with current commit c83e5e75e24706a0d6c15f3156d33b1c4f9dc365.

When I do SPC o p I get error

Symbol's function definition is void: make-treemacs-theme

Below is the screenshot -

enter image description here

How can I fix this issue?

  • Sounds like another duplicate question. Hope someone has time to search for it...
    – Drew
    Commented Nov 24, 2020 at 5:16
  • 1
    Does this help?
    – NickD
    Commented Nov 24, 2020 at 14:49
  • It might help if you specified what command the key sequence SPC o p is bound to: my guess is that the majority of Emacs users here do not use Doom, so you unnecessarily limit the set of people who might be able to answer by making your question so Doom-specific that only Doom users can answer it. In my case, I don't use Doom and I'm NOT going to install it just to find out what SPC o p is bound to: but if you told us what it is bound to, I (and others) might be able to help more.
    – NickD
    Commented Nov 24, 2020 at 14:58

1 Answer 1


This fixed the problem for me:

~/.emacs.d/bin/doom build

Doing doom build recompiles and symlinks all installed packages.

I figured this out after seeing a comment on a Github issue about this exact error:

This is caused by lsp-treemacs byte-compiled against old treemacs.

  • 1
    it throws (error . "Invalid value (1 single-branch) of depth for https://github.com/emacs-straight/project.git") error for me
    – Dentrax
    Commented Jun 7, 2021 at 15:46

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.