mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
markdown-ts-mode: Sanitize work-buffer pool
This a workaround for the release branch due to the work-buffer pool being insufficiently sanitized. * lisp/textmodes/markdown-ts-mode.el (markdown-ts--run-command-in-code-block): Reset 'mark-active'. Do not merge to master. (Bug#81218) (Bug#81111)
This commit is contained in:
parent
f89ff62367
commit
133c79b6bc
1 changed files with 1 additions and 0 deletions
|
|
@ -3221,6 +3221,7 @@ ARGS are captured by `markdown-ts--maybe-run-command-in-code-block'."
|
||||||
(memq command markdown-ts-code-block-ignore-output-commands))
|
(memq command markdown-ts-code-block-ignore-output-commands))
|
||||||
(source-buffer (current-buffer)))
|
(source-buffer (current-buffer)))
|
||||||
(with-work-buffer
|
(with-work-buffer
|
||||||
|
(setq mark-active nil) ; See bug#81111.
|
||||||
(insert str)
|
(insert str)
|
||||||
(goto-char adj-point)
|
(goto-char adj-point)
|
||||||
;; Propagate mark (and region).
|
;; Propagate mark (and region).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue