emacs-devel
[Top][All Lists]
Advanced

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

Re: Towards a cleaner build: project.el


From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build: project.el
Date: Thu, 13 Jun 2019 15:24:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Dmitry Gutov <address@hidden> writes:

>> OK, then I think the right solution here is to just make project.el
>> require xref, and if you later change the functions, then we'll get a
>> new error at that point.
>
> Fine by me, but we've previously dealt with these warnings using
> declare-function, see
>
> (declare-function xref--show-xrefs "xref")
> (declare-function xref-backend-identifier-at-point "xref")
> (declare-function xref--find-ignores-arguments "xref")

That's a better idea, especially since xref requires project.el, so just
requiring xref would be circular.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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