Permalink
Browse files

Fixed redirection-issue on some emacs-setups

(I hope we can trust Github to not-redirect us into an infinite loop)
  • Loading branch information...
1 parent 94d06c9 commit fc45810df730154e8646a1f68c6dfe41072973ec @the-kenny the-kenny committed with defunkt May 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 gist.el
View
@@ -92,7 +92,7 @@ accepts additional POST `params' as a list of (key . value) conses."
(let ((url-request-data (gist-make-query-string
`(("login" . ,login)
("token" . ,token) ,@params)))
- (url-max-redirecton 5)
+ (url-max-redirecton -1)
(url-request-method "POST"))
(url-retrieve url callback))))

0 comments on commit fc45810

Please sign in to comment.