Skip to content

Ensure markdown-mode is preferred#959

Open
matsl wants to merge 3 commits into
masterfrom
pr_fix_markdown_grammar_install_prompt
Open

Ensure markdown-mode is preferred#959
matsl wants to merge 3 commits into
masterfrom
pr_fix_markdown_grammar_install_prompt

Conversation

@matsl
Copy link
Copy Markdown
Collaborator

@matsl matsl commented May 19, 2026

What

Ensure markdown-mode is preferred to markdown-ts-mode to avoid issues
with treesitter grammars.

Why

When markdown-ts-mode is selected it will look for treesitter grammar
for markdown which we have not installed in CI and docker environment.

Note

This solves the immediate issue with Emacs master build and thus the coming Emacs 31 version. We should probably try to solve the grammar issue for our CI and docker builds but that is saved for later.

matsl added 2 commits May 19, 2026 09:54
Verify first that we get the error in the master build. Then activate
the code to see that is solves the issue.
@matsl matsl changed the title Add commented out code Ensure markdown-mode is preferred May 19, 2026
* test/hy-test-dependencies.el (fboundp): When markdown-ts-mode is
defined prefer markdown-mode. This avoids markdown-ts-mode prompting
for treesitter grammar.
@matsl matsl requested a review from rswgnu May 19, 2026 08:27
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

Successfully merging this pull request may close these issues.

2 participants