Merge branch 'bugfix'

This commit is contained in:
Ihor Radchenko 2023-04-17 12:48:10 +02:00
commit 425f379458
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 3 additions and 1 deletions

View File

@ -1237,7 +1237,9 @@ from the processor set in `org-cite-activate-processor'."
(let ((cite (org-with-point-at (match-beginning 0) (let ((cite (org-with-point-at (match-beginning 0)
(org-element-citation-parser)))) (org-element-citation-parser))))
(when cite (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 ;; Move after cite object and make sure to return
;; a non-nil value. ;; a non-nil value.
(goto-char (org-element-property :end cite))))))) (goto-char (org-element-property :end cite)))))))