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:
commit
b2ee10545e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue