fixup! Fix org-fontify-quote-and-verse-blocks when org-src-fontify-natively is t

This commit is contained in:
Ihor Radchenko 2024-03-19 23:35:30 +03:00
parent df4a48bc4f
commit 224254e7f0
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 2 deletions

View File

@ -5533,8 +5533,7 @@ by a #."
;; blocks with undocumented language specifier.
;; Keep this undocumented feature for user
;; convenience.
(member block-type ("src" "example"))
)
(member block-type '("src" "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)))