# HG changeset patch # User Chong Yidong # Date 1279334988 14400 # Node ID 334eb787177596b91a4ecea67a4c0f88d33d6d6b # Parent f0c7ada3b6420bcb7beae825da663458d3690889 Change x-select-enable-primary to nil. * lisp/mouse.el (mouse-drag-copy-region): * lisp/simple.el (select-active-regions): Likewise. * lisp/term/x-win.el (x-select-enable-primary): Change default to nil. (x-select-enable-clipboard): Add :version keyword. diff -r f0c7ada3b642 -r 334eb7871775 etc/NEWS --- a/etc/NEWS Sat Jul 17 01:42:11 2010 +0200 +++ b/etc/NEWS Fri Jul 16 22:49:48 2010 -0400 @@ -183,6 +183,8 @@ *** `x-select-enable-clipboard' now defaults to t. +*** `x-select-enable-primary' now defaults to nil. + *** `mouse-drag-copy-region' now defaults to nil. *** `mouse-2' is now bound to `mouse-yank-primary'. diff -r f0c7ada3b642 -r 334eb7871775 lisp/ChangeLog --- a/lisp/ChangeLog Sat Jul 17 01:42:11 2010 +0200 +++ b/lisp/ChangeLog Fri Jul 16 22:49:48 2010 -0400 @@ -1,3 +1,11 @@ +2010-07-17 Chong Yidong + + * term/x-win.el (x-select-enable-primary): Change default to nil. + (x-select-enable-clipboard): Add :version keyword. + + * mouse.el (mouse-drag-copy-region): + * simple.el (select-active-regions): Likewise. + 2010-07-16 Reiner Steib * vc.el (vc-coding-system-inherit-eol): New defvar. diff -r f0c7ada3b642 -r 334eb7871775 lisp/mouse.el --- a/lisp/mouse.el Sat Jul 17 01:42:11 2010 +0200 +++ b/lisp/mouse.el Fri Jul 16 22:49:48 2010 -0400 @@ -44,7 +44,7 @@ (defcustom mouse-drag-copy-region nil "If non-nil, mouse drag copies region to kill-ring." :type 'boolean - :version "22.1" + :version "24.1" :group 'mouse) (defcustom mouse-1-click-follows-link 450 diff -r f0c7ada3b642 -r 334eb7871775 lisp/simple.el --- a/lisp/simple.el Sat Jul 17 01:42:11 2010 +0200 +++ b/lisp/simple.el Fri Jul 16 22:49:48 2010 -0400 @@ -3670,7 +3670,7 @@ "If non-nil, an active region automatically becomes the window selection." :type 'boolean :group 'killing - :version "23.1") + :version "24.1") (declare-function x-selection-owner-p "xselect.c" (&optional selection)) diff -r f0c7ada3b642 -r 334eb7871775 lisp/term/x-win.el --- a/lisp/term/x-win.el Sat Jul 17 01:42:11 2010 +0200 +++ b/lisp/term/x-win.el Fri Jul 16 22:49:48 2010 -0400 @@ -1223,12 +1223,14 @@ "Non-nil means cutting and pasting uses the clipboard. This is in addition to, but in preference to, the primary selection." :type 'boolean - :group 'killing) + :group 'killing + :version "24.1") -(defcustom x-select-enable-primary t +(defcustom x-select-enable-primary nil "Non-nil means cutting and pasting uses the primary selection." :type 'boolean - :group 'killing) + :group 'killing + :version "24.1") (defun x-select-text (text &optional push) "Select TEXT, a string, according to the window system.