From 53caacade6718a1c023e33ed0a87b945b8934e5e Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 1 Aug 2024 21:06:17 -0400 Subject: [PATCH] fix bug maybe syntax changed? --- org-ref-utils.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-ref-utils.el b/org-ref-utils.el index b4737385..3aa85596 100644 --- a/org-ref-utils.el +++ b/org-ref-utils.el @@ -604,7 +604,7 @@ if FORCE is non-nil reparse the buffer no matter what." (cl-loop for ref in (plist-get (org-ref-parse-cite-path (plist-get plist :path)) :references) do (when (not (member (plist-get ref :key) bibtex-keys)) - (goto-char (plist-get plist :begin)) + (goto-char (org-element-property :begin link)) (re-search-forward (plist-get ref :key)) (push (cons (plist-get ref :key) (point-marker)) bad-citations))))))) ;; add with-affiliates to get cites in caption