From e46c62d96f2ba404d8f3a8aa8ca1fe79ca3eff1e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 25 Jun 2014 23:51:04 +0200 Subject: [PATCH] org-element: Small cache fix * lisp/org-element.el (org-element--cache-before-change): Ignore case sensitivity when looking for a modified sensitive line. --- lisp/org-element.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)