|
@@ -4544,7 +4544,7 @@ directory."
|
|
|
(let ((case-fold-search t)
|
|
|
(regexp (org-make-options-regexp keywords)))
|
|
|
(while (and keywords (re-search-forward regexp nil t))
|
|
|
- (let ((element (org-with-point-at (match-beginning 0) (org-element-keyword-parser (line-end-position) (list (match-beginning 0))))))
|
|
|
+ (let ((element (org-element-at-point)))
|
|
|
(when (eq 'keyword (org-element-type element))
|
|
|
(let ((value (org-element-property :value element)))
|
|
|
(pcase (org-element-property :key element)
|