0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 06:02:53 +00:00

Merge branch 'bugfix'

This commit is contained in:
Ihor Radchenko 2024-02-04 14:31:31 +01:00
commit b2ee10545e
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -5608,7 +5608,9 @@ by a #."
(defun org-fontify-extend-region (beg end _old-len)
(let ((end (if (progn (goto-char end) (looking-at-p "^[*#]"))
(1+ end) end))
(min (point-max) (1+ end))
;; See `font-lock-extend-jit-lock-region-after-change' and bug#68849.
(min (point-max) (1+ end))))
(begin-re "\\(\\\\\\[\\|\\(#\\+begin_\\|\\\\begin{\\)\\S-+\\)")
(end-re "\\(\\\\\\]\\|\\(#\\+end_\\|\\\\end{\\)\\S-+\\)")
(extend