diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2026-05-23 07:23:33 -0400 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2026-05-23 07:23:33 -0400 |
| commit | ccc94458fb5eebdc63f417d86fd8ce0579acc40c (patch) | |
| tree | 3fbaf2d048231c5285e5a7b60358bc2c0c869a96 /lisp/textmodes | |
| parent | 741feca4972ad046fa463b9015942c4196c83bcc (diff) | |
| parent | 7a17f97baa7d483cba5cde3cd22c34e0597e60b5 (diff) | |
Merge from origin/emacs-31
7a17f97baa7 Prettify special glyphs
f13287fde0d Revert "sh-script: Mark + and * as punctuation rather tha...
70b79b3ed8d Rename `icalendar-recur' type and related functions
3d2bb233f27 ; Minor Tramp changes
f6281d757d3 ; * etc/NEWS: Tell how to disable 'markdown-ts-mode'.
142b1e0d4c3 Fix Lisp injection via X-Draft-From in Gnus
d6f7b2d99bd Save/restore old_buffer slot via window configurations (B...
e0fbecaf658 Adapt ert-remote-temporary-file-directory settings
3de7f0ce5e5 Fix warning message in 'markdown-ts-mode--initialize'
7df8604ea63 ; Improve documentation of lazy-highlight in search and r...
2936b36164d Fix "assertion 'GTK_IS_WINDOW (window)' failed"
98348a0bdc9 [Xt] Fix child frame resizing glitch
13b29eebc16 Eglot: use standard face for completion annotations (bug#...
# Conflicts:
# etc/NEWS
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/markdown-ts-mode.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/textmodes/markdown-ts-mode.el b/lisp/textmodes/markdown-ts-mode.el index 7f87ff5d0bc..be2247b870e 100644 --- a/lisp/textmodes/markdown-ts-mode.el +++ b/lisp/textmodes/markdown-ts-mode.el @@ -5402,9 +5402,12 @@ With a prefix argument, ARG, if needed, install parsers for `html', (markdown-ts--set-up)) (t (warn "markdown-ts-mode cannot be set up; using fundamental-mode. -The tree-sitter parsers `markdown' and `markdown-inline' were not found. +%s." + (if (treesit-available-p) + "The tree-sitter parsers `markdown' and `markdown-inline' were not found. Use the command `markdown-ts-mode-install-parsers' to install them. -With a prefix argument, it can also install optional parsers.") +With a prefix argument, it can also install optional parsers" + "Emacs was built without Tree-sitter support, or could not load Tree-sitter")) (fundamental-mode))))) ;;;###autoload |
