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

Error while installing, error: (void-variable tree-sitter-major-mode-language-alist) #208

Closed
jcs090218 opened this issue Dec 31, 2020 · 3 comments
Labels

Comments

@jcs090218
Copy link
Collaborator

jcs090218 commented Dec 31, 2020

I am getting this error,

error: (void-variable tree-sitter-major-mode-language-alist)

I think you should make the following line in csharp-mode.el instead of csharp-tree-sitter.el?

;; Package-Requires: ((emacs "26.1") (tree-sitter "0.12.1") (tree-sitter-indent "0.1"))

@jcs090218 jcs090218 changed the title error: (void-variable tree-sitter-major-mode-language-alist) Error while installing error: (void-variable tree-sitter-major-mode-language-alist) Dec 31, 2020
@jcs090218 jcs090218 changed the title Error while installing error: (void-variable tree-sitter-major-mode-language-alist) Error while installing, error: (void-variable tree-sitter-major-mode-language-alist) Dec 31, 2020
@jcs090218
Copy link
Collaborator Author

Just for the record, the issue isn't about Package-Requires. It's when package.el trying to generate autoload file triggers this error. The solution is by adding with-eval-after-load for it's module.

@jcs090218 jcs090218 added the bug label Dec 31, 2020
@theothornhill
Copy link
Collaborator

Was this fixed with the latest pr:)?

@jcs090218
Copy link
Collaborator Author

Yes it fix! Close this now! Thanks! :)

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

No branches or pull requests

2 participants