changeset 109679:0e4b6259df92

Fix last change.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 07 Aug 2010 16:10:30 -0400
parents 14830418f9fc
children b6edc1ea12d7
files lisp/simple.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Sat Aug 07 15:39:04 2010 -0400
+++ b/lisp/simple.el	Sat Aug 07 16:10:30 2010 -0400
@@ -3686,7 +3686,8 @@
 	    ((/= (region-beginning) (region-end))
 	     (x-set-selection 'PRIMARY
 			      (buffer-substring-no-properties
-			       (point) (mark))))))
+			       (region-beginning)
+			       (region-end))))))
     (if (and (null force)
 	     (or (eq transient-mark-mode 'lambda)
 		 (and (eq (car-safe transient-mark-mode) 'only)