[Top][All Lists]

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

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

From: Pankaj Jangid
Subject: (require) is still required, even after (package-initialize)
Date: Mon, 28 Oct 2019 23:46:34 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin)

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?

Pankaj Jangid

reply via email to

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