summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2026-06-01 11:48:42 +0100
committerJoão Távora <joaotavora@gmail.com>2026-06-01 19:11:46 +0100
commitbfa4d6dd400f18832aa19df3cdd41bfd763c85f7 (patch)
tree240709d093591c26b64eb820a1cabda4646b8f5a /etc
parent43f163034682d0139a9986117bce7945ed60c1e9 (diff)
Disable markdown-ts-mode & markdown-ts-view-mode for Emacs 31
Ported from emacs-31 release branch: commit 984932d4dc992af384b8201caa6f1ba8457cfb2a Author: Sean Whitton <spwhitton@spwhitton.name> Date: Mon Jun 1 11:48:42 2026 +0100 Disable markdown-ts-mode & markdown-ts-view-mode for Emacs 31 This synchronizes master's Eglot with emacs-31. The goal of that commit is to demote those markdown-ts-mode.el modes to "experimental" status in emacs-31, but Eglot was already relying on them and changes were needed. 984932d4dc992af384b8201caa6f1ba8457cfb2a is not the commit that best does those changes, but since that commit was marked "do not merge" on emacs-31, I thought it best to bring it here manually so any further work -- which doesn't contradict the overarching intention -- can continue in emacs-31 with clean merges to master (where the GNU-devel core Elpa package is pulled from). * lisp/progmodes/eglot.el (eglot-documentation-renderer) (eglot--format-markup): Don't call eglot--builtin-mdown-p. * doc/misc/eglot.texi (Customization Variables): * etc/EGLOT-NEWS: Don't mention markdown-ts-mode Co-authored-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'etc')
-rw-r--r--etc/EGLOT-NEWS6
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/EGLOT-NEWS b/etc/EGLOT-NEWS
index f0f595fa500..7510f13521e 100644
--- a/etc/EGLOT-NEWS
+++ b/etc/EGLOT-NEWS
@@ -32,11 +32,7 @@ New key bindings: 'k' shuts down, 'r' reconnects, 'e' visits the events
buffer, 'w' shows workspace configuration, and 'RET' invokes
'eglot-describe-connection'.
-** New LSP documentation rendering backends (bug#80127)
-
-Eglot uses new built-in 'markdown-ts-mode' of Emacs 31, which means that
-on newer versions of Emacs the external 'markdown-mode.el' package does
-not need to be installed to render Markdown content.
+** 'eglot-documentation-renderer' replaces 'eglot-prefer-plaintext'.
The variable 'eglot-documentation-renderer' replaces the now-obsolete
'eglot-prefer-plaintext'. By default, the variable selects a markdown