]> git.eshelyaron.com Git - emacs.git/commitdiff
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 dd7f512e8aee0332f21caac04bcd82d37542b975..a3458531bbf59e23a951d21e48f2245335bb5320 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)