diff --git a/lisp/org-element.el b/lisp/org-element.el index 93d4fcc69..2c4ace062 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -5434,7 +5434,8 @@ text. See `before-change-functions' for more information." (concat "\\(" (org-with-limited-levels org-outline-regexp-bol) "\\)" "\\|" 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 (cond ((not (re-search-forward sensitive-re bottom t)) nil) ((and (match-beginning 1)