summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIhor Radchenko <yantar92@posteo.net>2024-09-22 11:47:53 +0200
committerIhor Radchenko <yantar92@posteo.net>2024-09-22 11:47:53 +0200
commit0b1a4bfc4870bab7e3e756b13116fdbee6833955 (patch)
tree27fa9049fbb9cdcf5200c71055ab601490074faa
parenta8790ed09ef6f9ffc4ec7157db5b24e988cb251d (diff)
parent2a85367ea80d8a110f76c42aa6927cf220ab5c33 (diff)
Merge branch 'bugfix'
-rw-r--r--lisp/org.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/org.el b/lisp/org.el
index d5c1dcb35..df58b47be 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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)))