Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing http -> https

  • Loading branch information...
commit 4cebac905269cc46734949e4ff43c76e489de9f6 1 parent 89f7903
@mcfunley mcfunley authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 gist.el
View
6 gist.el
@@ -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))
@@ -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
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.