From 39c5687e8becab3d745d14f39eca68949def884b Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Wed, 6 Nov 2024 13:02:45 +0900 Subject: [PATCH] Change temporary buffer name according naming convention --- CHANGES.md | 2 ++ markdown-mode.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 1241a8f1..fdb343f2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -26,6 +26,7 @@ - Apply url-unescape against URL in an inline link [GH-805][] - Show mode toggle message only if it is called interactively - Copy `markdown-css-paths` in the output buffer [GH-834][] + - Change temporary buffer name according to the Emacs naming convention [GH-848][] [gh-780]: https://github.com/jrblevin/markdown-mode/issues/780 [gh-802]: https://github.com/jrblevin/markdown-mode/issues/802 @@ -34,6 +35,7 @@ [gh-817]: https://github.com/jrblevin/markdown-mode/issues/817 [gh-827]: https://github.com/jrblevin/markdown-mode/issues/827 [gh-834]: https://github.com/jrblevin/markdown-mode/issues/834 + [gh-845]: https://github.com/jrblevin/markdown-mode/issues/845 [gh-848]: https://github.com/jrblevin/markdown-mode/issues/848 # Markdown Mode 2.6 diff --git a/markdown-mode.el b/markdown-mode.el index ad1ae739..c63f5405 100644 --- a/markdown-mode.el +++ b/markdown-mode.el @@ -9152,7 +9152,7 @@ position." (remove-text-properties start end '(face nil)) (with-current-buffer (get-buffer-create - (concat " markdown-code-fontification:" (symbol-name lang-mode))) + (format " *markdown-code-fontification:%s*" (symbol-name lang-mode))) ;; Make sure that modification hooks are not inhibited in ;; the org-src-fontification buffer in case we're called ;; from `jit-lock-function' (Bug#25132).