org-element: Small cache fix
* lisp/org-element.el (org-element--cache-before-change): Ignore case sensitivity when looking for a modified sensitive line.
This commit is contained in:
parent
5ab53d101d
commit
e46c62d96f
|
@ -5434,7 +5434,8 @@ text. See `before-change-functions' for more information."
|
||||||
(concat
|
(concat
|
||||||
"\\(" (org-with-limited-levels org-outline-regexp-bol) "\\)" "\\|"
|
"\\(" (org-with-limited-levels org-outline-regexp-bol) "\\)" "\\|"
|
||||||
org-element--cache-closing-line "\\|"
|
org-element--cache-closing-line "\\|"
|
||||||
org-element--cache-opening-line)))
|
org-element--cache-opening-line))
|
||||||
|
(case-fold-search t))
|
||||||
(setq org-element--cache-change-warning
|
(setq org-element--cache-change-warning
|
||||||
(cond ((not (re-search-forward sensitive-re bottom t)) nil)
|
(cond ((not (re-search-forward sensitive-re bottom t)) nil)
|
||||||
((and (match-beginning 1)
|
((and (match-beginning 1)
|
||||||
|
|
Loading…
Reference in New Issue