comparison lisp/ChangeLog @ 109802:acc05fd0631b

Let all active regions set the primary selection. This includes both temporarily active regions (mouse drag and shift-select) and those made with C-SPC and cursor motion. * lisp/cus-start.el: Change defcustom for select-active-regions. * lisp/simple.el (deactivate-mark): If select-active-regions is `only', only set selection for temporarily active regions. * src/insdel.c (prepare_to_modify_buffer): Handle `only' value of select-active-regions. * src/keyboard.c (command_loop_1): Avoid setting selection twice, since it's done in deactivate-mark as well. (Vselect_active_regions): Replace `lazy' value with `only', meaning to only set PRIMARY for temporarily active regions.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 15 Aug 2010 22:33:17 -0400
parents f4192807d8a6
children 2e3c8eb668ba
comparison
equal deleted inserted replaced
109801:f4192807d8a6 109802:acc05fd0631b
1 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
2
3 * simple.el (deactivate-mark): If select-active-regions is `only',
4 only set selection for temporarily active regions.
5
6 * cus-start.el: Change defcustom for select-active-regions.
7
1 2010-08-15 Chong Yidong <cyd@stupidchicken.com> 8 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2 9
3 * mouse.el (mouse--drag-set-mark-and-point): New function. 10 * mouse.el (mouse--drag-set-mark-and-point): New function.
4 (mouse-drag-track): Use LOCATION arg to push-mark. Use 11 (mouse-drag-track): Use LOCATION arg to push-mark. Use
5 mouse--drag-set-mark-and-point to take click-count into 12 mouse--drag-set-mark-and-point to take click-count into