Have tried to put in .emacs

(when
    (load
     (expand-file-name "~/.emacs.d/elpa/package.el"))
  )

   (setq package-archives '(
                                                        ("marmalade" . 
"http://marmalade-repo.org/packages/";)
                             ("gnu"  . "http://elpa.gnu.org/
packages/")))

(package-initialize)


But didn't work.
I have defined in package.el (defconst package-archive-base "http://
tromey.com/elpa/")
should i chanve that? I tried to replace it with "http://marmalade-
repo.org/packages/" but this resource doesn't have builtin-packages or
somthing


On Nov 21, 5:08 pm, Michael Jaaka <michael.ja...@googlemail.com>
wrote:
> I have added (add-to-list 'package-archives '("marmalade" . "http://
> marmalade-repo.org/packages/"))
> to .emacs but getting Warning initialziation: An error occured while
> loading .emacs
> Symbols value as variable is void: package-archives
>
> On Nov 21, 4:03 pm, Chris Perkins <chrisperkin...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I'm far from being an expert on this stuff, but I did go through all the
> > same frustration as you are going through, about 2 years ago, so I'll try
> > to help.
>
> > I think you have an old version of clojure-mode.  The default archive that
> > comes with package.el is athttp://tromey.com/elpa.  It contains an old
> > clojure-mode. marmalade-repo contains the new version.
>
> > Try doing M-x package-list-packages, and then search the list for
> > clojure-mode - it should be version 1.11.4.  Put the cursor beside that,
> > press i (for install), then x (for execute).
>
> > Then restart emacs.  Let me know if that works.
>
> > - Chris

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to