diff options
author | Kyle Meyer <kyle@kyleam.com> | 2023-04-24 19:47:12 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2023-04-24 19:47:12 -0400 |
commit | d80f959beded280ed61623ec36ea2a9ac07cc747 (patch) | |
tree | 5b0a0fcc434d6d5a0204fefb932fc7c7859e4042 /lisp/org/oc.el | |
parent | 98c6cfcbe4a07191f73e3bb94ff1f047551533e6 (diff) | |
download | emacs-d80f959beded280ed61623ec36ea2a9ac07cc747.tar.gz emacs-d80f959beded280ed61623ec36ea2a9ac07cc747.tar.bz2 emacs-d80f959beded280ed61623ec36ea2a9ac07cc747.zip |
Update to Org 9.6.4-9-g8eb209
Diffstat (limited to 'lisp/org/oc.el')
-rw-r--r-- | lisp/org/oc.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org/oc.el b/lisp/org/oc.el index 260a4d3e1a7..8a7b662098a 100644 --- a/lisp/org/oc.el +++ b/lisp/org/oc.el @@ -1232,7 +1232,9 @@ from the processor set in `org-cite-activate-processor'." (let ((cite (org-with-point-at (match-beginning 0) (org-element-citation-parser)))) (when cite - (funcall activate cite) + ;; Do not alter match data as font-lock expects us to set it + ;; appropriately. + (save-match-data (funcall activate cite)) ;; Move after cite object and make sure to return ;; a non-nil value. (goto-char (org-element-property :end cite))))))) |