Permalink
Browse files

gh-gist.el: specify the filename

  • Loading branch information...
1 parent 8958358 commit e940d5554dccaf3c76c959962d57e8cfb06ab96a @sigma committed Dec 30, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 gh-gist.el
View
@@ -121,7 +121,8 @@
(oref f :content)) (oref gist :files)))))
(defmethod gh-gist-gist-file-to-obj ((file gh-gist-gist-file))
- `(,(oref file :filename) . (("content" . ,(oref file :content)))))
+ `(,(oref file :filename) . (("filename" . ,(oref file :filename))
+ ("content" . ,(oref file :content)))))
(defmethod gh-gist-list ((api gh-gist-api) &optional username)
(gh-api-authenticated-request

0 comments on commit e940d55

Please sign in to comment.