Fix last change.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 7 Aug 2010 20:10:30 +0000 (16:10 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 7 Aug 2010 20:10:30 +0000 (16:10 -0400)
lisp/simple.el

index dd7f512..a345853 100644 (file)
@@ -3686,7 +3686,8 @@ This function also runs `deactivate-mark-hook'."
            ((/= (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)