Browse files

Making gist-region-or-buffer work without error in Transient Mode wit…

…h mark-even-if-inactive set to true.
  • Loading branch information...
1 parent 4cebac9 commit da6e1ba9f88cfa7a3d0927f8843a9e583681d61d @JEG2 committed Dec 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 gist.el
@@ -213,7 +213,7 @@ Copies the URL into the kill ring.
With a prefix argument, makes a private paste."
(interactive "P")
(condition-case nil
- (gist-region (point) (mark) private)
+ (gist-region (point) (let (mark-even-if-inactive) (mark)) private)
(mark-inactive (gist-buffer private))))

0 comments on commit da6e1ba

Please sign in to comment.