Permalink
Browse files

specify region beginning and end. Why did I think that this ever worked?

  • Loading branch information...
1 parent d8dcacb commit 71389514e765fe39696b460dfcfe5dde70f142e3 @freels committed Apr 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 local/bindings.el
View
@@ -13,7 +13,7 @@
;; succession doesn't work. Define C-c C-g to work correctly
(defun local--copy-region-and-deselect ()
(interactive)
- (copy-region-as-kill)
+ (copy-region-as-kill (region-beginning) (region-end))
(keyboard-quit))
(global-set-key (kbd "C-c C-g") 'local--copy-region-and-deselect)

0 comments on commit 7138951

Please sign in to comment.