Skip to content

Instantly share code, notes, and snippets.

@sigma
Created February 22, 2012 11:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sigma/1884169 to your computer and use it in GitHub Desktop.
Save sigma/1884169 to your computer and use it in GitHub Desktop.
package install for emacs23
(let ((buffer (url-retrieve-synchronously
"https://gist.github.com/sigma/1884092/raw/9014a209f2fc5c8d31762d13ec495d9e92a412de/package-install.el")))
(save-excursion
(set-buffer buffer)
(goto-char (point-min))
(re-search-forward "^$" nil 'move)
(let ((user-init-file (expand-file-name "~/.emacs")))
(eval-region (point) (point-max)))
(kill-buffer (current-buffer))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment