aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-07-14 12:11:39 -0400
committerChong Yidong2010-07-14 12:11:39 -0400
commit5cbce271a61935fe07103b94cfad678d129f06c9 (patch)
tree3fefb94b07dbfa01c3e706198293bfade99b4531
parentb78f97676f9c1e47c127275ae542f344f300310d (diff)
downloademacs-5cbce271a61935fe07103b94cfad678d129f06c9.tar.gz
emacs-5cbce271a61935fe07103b94cfad678d129f06c9.zip
* simple.el (push-mark-command): Set selection for select-active-regions.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/simple.el2
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dec7a513927..4655469ed54 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-07-14 Chong Yidong <cyd@stupidchicken.com>
2
3 * simple.el (push-mark-command): Set the selection if
4 select-active-regions is non-nil.
5
12010-07-10 Glenn Morris <rgm@gnu.org> 62010-07-10 Glenn Morris <rgm@gnu.org>
2 7
3 * calendar/calendar.el (calendar-week-end-day): New function. 8 * calendar/calendar.el (calendar-week-end-day): New function.
diff --git a/lisp/simple.el b/lisp/simple.el
index 7f4bc3bc87b..6c8725a813f 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3687,6 +3687,8 @@ Display `Mark set' unless the optional second arg NOMSG is non-nil."
3687 (push-mark nil nomsg t) 3687 (push-mark nil nomsg t)
3688 (setq mark-active t) 3688 (setq mark-active t)
3689 (run-hooks 'activate-mark-hook) 3689 (run-hooks 'activate-mark-hook)
3690 (and select-active-regions (display-selections-p)
3691 (x-set-selection 'PRIMARY (current-buffer)))
3690 (unless nomsg 3692 (unless nomsg
3691 (message "Mark activated"))))) 3693 (message "Mark activated")))))
3692 3694