Permalink
Browse files

Increased max redirections to prevent an error

  • Loading branch information...
1 parent 957c4e0 commit 235b7b477fbb7d6f6087ec91e243c4423d4585bf Dan Leslie committed with defunkt Feb 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 gist.el
View
@@ -93,7 +93,7 @@ With a prefix argument, makes a private paste."
(ext (or (cdr (assoc major-mode gist-supported-modes-alist))
(file-name-extension file)
"txt")))
- (setq url-max-redirections 0)
+ (setq url-max-redirections 5)
(setq url-request-method "POST")
(setq url-request-data (gist-make-query-string
`(,@(if private '(("action_button" . "private")))

0 comments on commit 235b7b4

Please sign in to comment.