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:
commit
0b1a4bfc48
12
lisp/org.el
12
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)))
|
||||
|
Loading…
Reference in New Issue
Block a user