1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-02 08:22:16 +00:00

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:
Nicolas Goaziou 2014-06-25 23:51:04 +02:00
parent 5ab53d101d
commit e46c62d96f

View File

@ -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)