Skip to content

Instantly share code, notes, and snippets.

@buzztaiki
Created March 3, 2012 07:03
Show Gist options
  • Save buzztaiki/1964794 to your computer and use it in GitHub Desktop.
Save buzztaiki/1964794 to your computer and use it in GitHub Desktop.
el-get, elpa, emacsmirror, emacswikiをまとめてドン
(list
:el-get (el-get-read-all-recipe-names)
:elpa
(progn
(package-refresh-contents)
(loop for pkg in package-archive-contents
collect (symbol-name (car pkg))))
:emacsmirror
(with-temp-buffer
(call-process
"curl" nil (current-buffer) nil
"-s"
"http://github.com/api/v2/json/repos/show/emacsmirror")
(goto-char (point-min))
(require 'json)
(let ((repos (cdr (assq 'repositories (json-read)))))
(loop for repo across repos
collect (cdr (assq 'name repo)))))
:emacswiki
(progn
(auto-install-update-emacswiki-package-name t)
(loop until auto-install-package-name-list
do (sit-for 0.1)
finally return auto-install-package-name-list)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment