Skip to content

Instantly share code, notes, and snippets.

@masaedw
Created December 11, 2010 02:18
Show Gist options
  • Save masaedw/737091 to your computer and use it in GitHub Desktop.
Save masaedw/737091 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