Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eval-buffer: Symbol’s function definition is void: treemacs-define-leaf-node #987

Closed
erusyd opened this issue Oct 25, 2022 · 4 comments
Closed

Comments

@erusyd
Copy link

erusyd commented Oct 25, 2022

Emacs version: 28.1 with native-compile
Linux Mint 20.3

@peterbecich
Copy link

It appears to be defined here

(cl-defmacro treemacs-define-leaf-node (name icon &key ret-action tab-action mouse1-action visit-action)
"Define a type of node that is a leaf and cannot be further expanded.

Recent commit made change to treemacs-extensions:

"The treemacs-extensions module is obsolete, treemacs-treelib should be used instead."

75ba10f

@peterbecich
Copy link

Probably duplicate: #988

@peterbecich
Copy link

peterbecich commented Oct 30, 2022

I have solved it temporarily by adding

(require 'treemacs-extensions)

to init.el
emacs-lsp/lsp-metals#84 (comment)

@Alexander-Miller
Copy link
Owner

Probably duplicate: #988

Correct, it's a symptom of the same issue.

I have solved it temporarily by adding

That will probably not work. The extension api rewrite also included changing various functions elsewhere in the core of treemacs. New treemacs will probably break when trying to find or navigate between old extensions. Your best bet is using v2.11 until metals can update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants