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 15:19:47 +0000

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

> The `declare-function` should be placed right next (after) the
> `require`.  In practice it (currently) makes no difference (because of
> technical details of how `declare-function` is (currently) implemented),
> but in theory it clarifies that you do not intend to claim that it's safe
> to call `obe-citations` from anywhere within `ox-bibtex`, but only from
> within `org-bibtex-goto-citation`.

Interesting.
I am wondering if byte-compiler can somehow detect such scenarios and
throw a warning.

-- 
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]