[Top][All Lists]

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

Re: document package.el

From: Christoph
Subject: Re: document package.el
Date: Thu, 26 Aug 2010 21:12:52 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20100802 Thunderbird/3.1.2

On 8/26/2010 5:27 PM, Juri Linkov wrote:

I guess we need something like `require',
e.g. (package-require FEATURE&optional FILENAME NOERROR).

So you could put in your .emacs:

   (package-require 'company)
   (package-require 'js2-mode)
   (package-require 'rainbow-mode)

and it will take care of installing and activating
your preferred packages on a new installation.

Interesting. On each subsequent startup, after installing, it could then check if a new version is available and prompt for update. Of course that could be optional for people who don't want to be bothered with updating on startup.


reply via email to

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