I'm just setting up Treemacs for the first time. I am using Emacs' built in project management (not Projectile) and ideally want Treemacs to always show only the current project.

Currently, if I run treemacs-add-and-display-current-project or treemacs-display-current-project-exclusively, I get the error `Wrong type argument: stringp, (Git "PROJECTPATH"). What’s causing this?

  • Say M-x toggle-debug-on-error and do the command again, then paste the backtrace into your question.
    – NickD
    Apr 21, 2022 at 22:34
  • Sounds like treemacs needs to fix the way it's using project.el. A bug report would help.
    – Dmitry
    Apr 21, 2022 at 23:03


Your Answer

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

Browse other questions tagged or ask your own question.