Skip to content

Instantly share code, notes, and snippets.

@pjstadig
Created November 5, 2010 13:01
Show Gist options
  • Save pjstadig/664100 to your computer and use it in GitHub Desktop.
Save pjstadig/664100 to your computer and use it in GitHub Desktop.
;;;###autoload
(defun gist-list ()
"Displays a list of all of the current user's gists in a new buffer."
(interactive)
(message "Retrieving list of your gists...")
(github-with-auth-info login token
(gist-request
(format "https://gist.github.com/api/v1/xml/gists/%s" login)
'gist-lists-retrieved-callback)))
(defun gist-lists-retrieved-callback (status)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment