Enabling MELPA package archive for Aquamacs

Thanks to my buddy Ken, I’ve been geeking out on lots of new Emacs/computer tools that could either drastically increase my productivity, or drastically decrease it through incessant messing around. I recently updated to the latest version of Aquamacs, which since it is built on Emacs v24 now contains the handy package management features.

By default it seems that Aquamacs uses the ELPA archive, which is pretty limited in terms of the number of packages. To use the MELPA archive instead (which seems to be the largest and most popular one right now), add this to ~/Library/Preferences/Aquamacs/Preferences.el

;; Melpa
(require 'package)
(add-to-list 'package-archives
             '("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)

And Voila!

Advertisements

One thought on “Enabling MELPA package archive for Aquamacs

  1. clarkrichards Post author

    It may be obvious, but perhaps it is worth pointing out that the above code works for GNU emacs (e.g. the one that I’m now using) as well.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s