Skip to content

Commit

Permalink
fixing http -> https
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfunley committed Nov 4, 2010
1 parent 89f7903 commit 4cebac9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gist.el
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ With a prefix argument, makes a private paste."
(file-name-extension file)
"txt")))
(gist-request
"http://gist.github.com/gists"
"https://gist.github.com/gists"
(or callback 'gist-created-callback)
`(,@(if private '(("action_button" . "private")))
("file_ext[gistfile1]" . ,(concat "." ext))
Expand Down Expand Up @@ -225,7 +225,7 @@ Copies the URL into the kill ring."
(gist-region-private (point) (mark))
(mark-inactive (gist-buffer-private))))

(defvar gist-fetch-url "http://gist.github.com/%d.txt"
(defvar gist-fetch-url "https://gist.github.com/%d.txt"
"Raw Gist content URL format")

;;;###autoload
Expand All @@ -235,7 +235,7 @@ Copies the URL into the kill ring."
(message "Retrieving list of your gists...")
(github-with-auth-info login token
(gist-request
(format "http://gist.github.com/api/v1/xml/gists/%s" login)
(format "https://gist.github.com/api/v1/xml/gists/%s" login)
'gist-lists-retrieved-callback)))

(defun gist-lists-retrieved-callback (status)
Expand Down

0 comments on commit 4cebac9

Please sign in to comment.