1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-24 07:20:29 +00:00

Merge branch 'bugfix'

This commit is contained in:
Ihor Radchenko 2024-09-22 11:47:53 +02:00
commit 0b1a4bfc48
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -5490,14 +5490,14 @@ by a #."
(org-remove-flyspell-overlays-in nl-before-endline end-of-endline)
(cond
((and org-src-fontify-natively
;; Technically, according to
;; Technically, according to the
;; `org-src-fontify-natively' docstring, we should
;; only fontify src blocks. However, it is common
;; to use undocumented fontification of example
;; blocks with undocumented language specifier.
;; Keep this undocumented feature for user
;; convenience.
(member block-type '("src" "example")))
;; to use undocumented fontification of export and
;; example blocks. (The latter which do not support a
;; language specifier.) Keep this undocumented feature
;; for user convenience.
(member block-type '("src" "export" "example")))
(save-match-data
(org-src-font-lock-fontify-block (or lang "") block-start block-end))
(add-text-properties bol-after-beginline block-end '(src-block t)))