Skip to content

Error when opening file with neotree #37

@tastytea

Description

@tastytea

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions