org.el: Use case-folding when trying to match clocktables and source blocks contexts
* org.el (org-context): Use case-folding when trying to match clocktables and source blocks contexts.
This commit is contained in:
parent
62064c73fc
commit
788f7da285
|
@ -20352,6 +20352,7 @@ and :keyword."
|
||||||
(push (list :table-table) clist)))
|
(push (list :table-table) clist)))
|
||||||
(goto-char p)
|
(goto-char p)
|
||||||
|
|
||||||
|
(let ((case-fold-search t))
|
||||||
;; New the "medium" contexts: clocktables, source blocks
|
;; New the "medium" contexts: clocktables, source blocks
|
||||||
(cond ((org-in-clocktable-p)
|
(cond ((org-in-clocktable-p)
|
||||||
(push (list :clocktable
|
(push (list :clocktable
|
||||||
|
@ -20366,7 +20367,7 @@ and :keyword."
|
||||||
(search-backward "#+BEGIN_SRC" nil t))
|
(search-backward "#+BEGIN_SRC" nil t))
|
||||||
(match-beginning 0))
|
(match-beginning 0))
|
||||||
(and (search-forward "#+END_SRC" nil t)
|
(and (search-forward "#+END_SRC" nil t)
|
||||||
(match-beginning 0))) clist)))
|
(match-beginning 0))) clist))))
|
||||||
(goto-char p)
|
(goto-char p)
|
||||||
|
|
||||||
;; Now the small context
|
;; Now the small context
|
||||||
|
|
Loading…
Reference in New Issue