aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2010-08-07 16:10:30 -0400
committerChong Yidong <[email protected]>2010-08-07 16:10:30 -0400
commit1bcb9e6575ee9a73a01fae63908e5a57ebeff34b (patch)
tree2815140532e47fce0796cc61080d06a815ad82bd /lisp/simple.el
parent9852377f7860205876bbea901d534213d3cca639 (diff)
Fix last change.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index dd7f512e8a..a3458531bb 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -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)