all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* (require) is still required, even after (package-initialize)
@ 2019-10-28 18:16 Pankaj Jangid
  2019-10-29 19:02 ` Michael Heerdegen
  0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Jangid @ 2019-10-28 18:16 UTC (permalink / raw)
  To: Emacs mailing list


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-30 10:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-28 18:16 (require) is still required, even after (package-initialize) Pankaj Jangid
2019-10-29 19:02 ` Michael Heerdegen
2019-10-30  3:06   ` Pankaj Jangid
2019-10-30 10:35     ` Michael Heerdegen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.