summaryrefslogtreecommitdiff
path: root/java/org/gnu/emacs/EmacsDialogButtonLayout.java
diff options
context:
space:
mode:
authorRahul Martim Juliato <rahul.juliato@gmail.com>2026-05-07 11:24:30 -0300
committerJoão Távora <joaotavora@gmail.com>2026-05-13 23:36:27 +0100
commit0be998d4bc03b4ea12e506363d41b7e9ceeefc04 (patch)
tree71e1930ea89e1833cdc07529648fb23f9fe002a6 /java/org/gnu/emacs/EmacsDialogButtonLayout.java
parenta00beb3a31bd998cba547a6b06d662799bdc28c6 (diff)
Fix code-span in headings in 'markdown-ts-mode' (bug#80979)
* lisp/textmodes/markdown-ts-mode.el (markdown-ts--treesit-settings): Move the 'code_span' and 'code_span_delimiter' font-lock rules into a separate block with ':override prepend' instead of 'append'. The heading feature (level 1) applies its face via 'font-lock-append-text-property', so a code span that later appends 'markdown-ts-code-span' ends up with '(markdown-ts-heading-N markdown-ts-code-span)', where the heading face takes priority and the code-span face is suppressed. Prepending ensures 'markdown-ts-code-span' appears first in the face list and wins visually.
Diffstat (limited to 'java/org/gnu/emacs/EmacsDialogButtonLayout.java')
0 files changed, 0 insertions, 0 deletions