Skip to content

poly-markdown replaces markdown-mode in an autoload #28

Description

@catern

Merely having poly-markdown installed shouldn't cause it to replace markdown-mode. That should only happen if (require 'poly-markdown) actually runs. But because the addition to auto-mode-alist is marked autoload, just installing poly-markdown causes it to effectively replace markdown-mode:

;;;###autoload
(add-to-list 'auto-mode-alist '("\\.md\\'" . poly-markdown-mode))

The ;;;###autoload part should be removed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions