Skip to content

Instantly share code, notes, and snippets.

@stettberger
Created July 31, 2010 20:13
Show Gist options
  • Save stettberger/502561 to your computer and use it in GitHub Desktop.
Save stettberger/502561 to your computer and use it in GitHub Desktop.
(defun gist-created-callback (status)
(let ((location (cadr status)))
(message "Paste created: %s" location)
(when gist-view-gist
(browse-url location))
(kill-new location)
(kill-buffer (current-buffer))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment