@@ -282,24 +282,25 @@ interested in the actual code implementing the starter kit.
282
282
283
283
- ELPA archive repositories and two packages to install by default.
284
284
#+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)))))
303
304
#+end_src
304
305
305
306
- Function for loading other parts of the starter kit
0 commit comments