Skip to content

Instantly share code, notes, and snippets.

@danlamanna
Created February 17, 2013 17:03
Show Gist options
  • Save danlamanna/4972285 to your computer and use it in GitHub Desktop.
Save danlamanna/4972285 to your computer and use it in GitHub Desktop.
(defun html-source-of(url)
(let ((response-buffer (url-retrieve-synchronously url)))
(with-current-buffer response-buffer
(buffer-substring-no-properties url-http-end-of-headers (point-max)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment