Skip to content

Instantly share code, notes, and snippets.

@shimbaco
Created May 17, 2010 00:59
Show Gist options
  • Save shimbaco/403287 to your computer and use it in GitHub Desktop.
Save shimbaco/403287 to your computer and use it in GitHub Desktop.
(let ((buffer (url-retrieve-synchronously
"http://tromey.com/elpa/package-install.el")))
(save-excursion
(set-buffer buffer)
(goto-char (point-min))
(re-search-forward "^$" nil 'move)
(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