emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-contrib eaef050f28: lisp/ox-bibtex.el (org-bibtex-goto


From: ELPA Syncer
Subject: [nongnu] elpa/org-contrib eaef050f28: lisp/ox-bibtex.el (org-bibtex-goto-citation): Add missing require
Date: Tue, 30 Jan 2024 07:00:55 -0500 (EST)

branch: elpa/org-contrib
commit eaef050f28944638510d133788ddbecb8087feaf
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    lisp/ox-bibtex.el (org-bibtex-goto-citation): Add missing require
    
    * lisp/ox-bibtex.el (org-bibtex-goto-citation): `obe-citations' is
    defined in org-bibtex-extras.  Require it when necessary.
---
 lisp/ox-bibtex.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/ox-bibtex.el b/lisp/ox-bibtex.el
index 743fd7da2a..8cdf390cf2 100644
--- a/lisp/ox-bibtex.el
+++ b/lisp/ox-bibtex.el
@@ -157,9 +157,11 @@ to `org-bibtex-citation-p' predicate."
 (defvar org-bibtex-file nil
   "Org file of BibTeX entries.")
 
+(declare-function obe-citations "org-bibtex-extras" ())
 (defun org-bibtex-goto-citation (&optional citation)
   "Visit a citation given its ID."
   (interactive)
+  (require 'org-bibtex-extras)
   (let ((citation (or citation (completing-read "Citation: " 
(obe-citations)))))
     (find-file (or org-bibtex-file
                   (error "`org-bibtex-file' has not been configured")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]