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 when opening file with neotree #37

Open
tastytea opened this issue Apr 12, 2019 · 0 comments
Open

Error when opening file with neotree #37

tastytea opened this issue Apr 12, 2019 · 0 comments

Comments

@tastytea
Copy link

Whenever I open an AsciiDoc-file with neotree, I get this error and adoc-mode is not invoked.

File mode specification error: (wrong-type-argument symbolp #[(&optional arg) \301 \210\302�\303\304#\207 [arg neo-global--select-window neo-buffer--execute neo-open-file #[(&rest _) \300\207 [nil] 1]] 4 nil P])

I don't have this problem with any other file types and opening the same AsciiDoc-files with C-x C-f works as expected. If I disable adoc-mode, the error does not occur.

This is how I load adoc-mode:

(use-package adoc-mode
  :mode
  ("\\.adoc\\'" . adoc-mode)
  :custom-face
  […]
  :hook
  (adoc-mode . visual-line-mode))
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

1 participant