Skip to content

Commit ed31243

Browse files
committed
bringing back marmalade
and in less than a day it's back, looks like there are some packages required by extra starter-kit files which are only in marmalade.
1 parent 1001c10 commit ed31243

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

starter-kit.org

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -282,24 +282,25 @@ interested in the actual code implementing the starter kit.
282282

283283
- ELPA archive repositories and two packages to install by default.
284284
#+begin_src emacs-lisp
285-
(setq package-archives
286-
'(("gnu" . "http://elpa.gnu.org/packages/")
287-
("org" . "http://orgmode.org/elpa/")
288-
("melpa" . "http://melpa.milkbox.net/packages/")))
289-
(package-initialize)
290-
291-
(defvar starter-kit-packages nil
292-
"Libraries that should be installed by default (currently none).")
293-
294-
(defun starter-kit-install-if-needed (&rest packages)
295-
"Install PACKAGES using ELPA if they are not loadable or installed locally."
296-
(when packages
297-
(unless package-archive-contents
298-
(package-refresh-contents))
299-
(dolist (package packages)
300-
(unless (or (starter-kit-loadable-p package)
301-
(package-installed-p package))
302-
(package-install package)))))
285+
(setq package-archives
286+
'(("gnu" . "http://elpa.gnu.org/packages/")
287+
("org" . "http://orgmode.org/elpa/")
288+
("melpa" . "http://melpa.milkbox.net/packages/")
289+
("marmalade" . "http://marmalade-repo.org/packages/")))
290+
(package-initialize)
291+
292+
(defvar starter-kit-packages nil
293+
"Libraries that should be installed by default (currently none).")
294+
295+
(defun starter-kit-install-if-needed (&rest packages)
296+
"Install PACKAGES using ELPA if they are not loadable or installed locally."
297+
(when packages
298+
(unless package-archive-contents
299+
(package-refresh-contents))
300+
(dolist (package packages)
301+
(unless (or (starter-kit-loadable-p package)
302+
(package-installed-p package))
303+
(package-install package)))))
303304
#+end_src
304305

305306
- Function for loading other parts of the starter kit

0 commit comments

Comments
 (0)