diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-08-15 22:33:17 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-08-15 22:33:17 -0400 |
commit | 7c23dd4468eb42dbe7e3f40339c6fda9f9905d0e (patch) | |
tree | fc6daa2c1cf95788332e4216b8293dc5616ee73b /lisp/emacs-lisp/lisp.el | |
parent | 6d3e82d2d656d7ed27b374f62c320c7d58348248 (diff) | |
download | emacs-7c23dd4468eb42dbe7e3f40339c6fda9f9905d0e.tar.gz emacs-7c23dd4468eb42dbe7e3f40339c6fda9f9905d0e.tar.bz2 emacs-7c23dd4468eb42dbe7e3f40339c6fda9f9905d0e.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions