Skip to content

Instantly share code, notes, and snippets.

@felipero
Created July 29, 2009 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipero/158221 to your computer and use it in GitHub Desktop.
Save felipero/158221 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