Subject: Re: bug#23237: Strange behavior of `package` in automated install in init script

From: Michael Heerdegen <[email-masked]>
Date: Thu, 07 Apr 2016 17:54:38 +0200

Alex Coventry <[email-masked]> writes:

>   (message (format "package contents: %s" package-archive-contents))

This should better be

  (message "package contents: %s" package-archive-contents)

>   (package-install "evil")

According to the doc of `package-install', package names are symbols, so
I think you should better do

  (package-install 'evil)

Michael.