|
From: | Glenn Morris |
Subject: | bug#12721: 24.2; package-installed-p behavior on emacs startup |
Date: | Wed, 24 Oct 2012 13:32:27 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
kostafey wrote: > How the function package-installed-p should behave on emacs startup if > some package is already installed? It seems that it returns nil for > installed package on emacs startup. It needs package-initialize to have been run, which is only done after your init file has been read, as documented eg in C-h v package-enable-at-startup. Maybe you could run package-initialize explicitly and set package-enable-at-startup to nil? Or use after-init-hook?
[Prev in Thread] | Current Thread | [Next in Thread] |