emacs-devel
[Top][All Lists]
Advanced

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

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


From: Ihor Radchenko
Subject: Re: [nongnu] elpa/org-contrib eaef050f28: lisp/ox-bibtex.el (org-bibtex-goto-citation): Add missing require
Date: Tue, 30 Jan 2024 18:59:59 +0000

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I am wondering if byte-compiler can somehow detect such scenarios and
>> throw a warning.
>
> In theory, if you "fix" the code as I suggested and call `obe-citations`
> from outside of `org-bibtex-goto-citation`., the byte-compiler could
> emit a warning.  Is that what you mean?

I mean an opposite: if `declare-function' is called globally, but the
actual function is only called by a single function in the file, emit
warning.

What you suggest also makes sense.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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