help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: (require) is still required, even after (package-initialize)


From: Michael Heerdegen
Subject: Re: (require) is still required, even after (package-initialize)
Date: Tue, 29 Oct 2019 20:02:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Pankaj Jangid <address@hidden> writes:

> The documentation says that (require 'package) is not required if
> (package-initialize) is already invoked in init.el.
>
> But flymake is reporting "server-running-p is not known to be defined"
> in the below statement,
>
> (unless (server-running-p) (server-start))
>
> I have also tried to call,
>
> (eval-when-compile (package-initialize)) instead of just
> (package-initialize). But still flymake is reporting the error.
>
> (require 'server) solves the error.
>
> Am I using package-initialize wrongly?

No, probably not.  "server" is built-in Emacs, so (package-initialize)
will not help.  Maybe it's a bug in a flymake addon package you use?  I
don't the the flymake source files in Emacs doing anything with the
server.  What's your setup - or do you have a recipe?

Regards,

Michael.



reply via email to

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