Skip to content

Instantly share code, notes, and snippets.

@iorionda
Created June 13, 2013 05:08
Show Gist options
  • Select an option

  • Save iorionda/5771368 to your computer and use it in GitHub Desktop.

Select an option

Save iorionda/5771368 to your computer and use it in GitHub Desktop.
列挙したパッケージを起動時にインストールする
(defvar installing-package-list
'(
;; ここに使っているパッケージを書く。
;; popwin
;; helm
))
(let ((not-installed (loop for x in installing-package-list
when (not (package-installed-p x))
collect x)))
(when not-installed
(package-refresh-contents)
(dolist (pkg not-installed)
(package-install pkg))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment