aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-07-16 22:49:48 -0400
committerChong Yidong2010-07-16 22:49:48 -0400
commit2490cbbcb72045026d1b474ed5add24d4c3c563e (patch)
treedba55b40b2ed6f9d61a32295e8d1cfb1c13014fa
parente89fdbfc4e780614321b4d36a9cebd613c65f961 (diff)
downloademacs-2490cbbcb72045026d1b474ed5add24d4c3c563e.tar.gz
emacs-2490cbbcb72045026d1b474ed5add24d4c3c563e.zip
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.
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/mouse.el2
-rw-r--r--lisp/simple.el2
-rw-r--r--lisp/term/x-win.el8
5 files changed, 17 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 27865cce51a..bf60bcb31aa 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -183,6 +183,8 @@ and yank use the clipboard, in addition to the primary selection.
183 183
184*** `x-select-enable-clipboard' now defaults to t. 184*** `x-select-enable-clipboard' now defaults to t.
185 185
186*** `x-select-enable-primary' now defaults to nil.
187
186*** `mouse-drag-copy-region' now defaults to nil. 188*** `mouse-drag-copy-region' now defaults to nil.
187 189
188*** `mouse-2' is now bound to `mouse-yank-primary'. 190*** `mouse-2' is now bound to `mouse-yank-primary'.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f0ea29a5d89..fe0c28dfd9a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12010-07-17 Chong Yidong <cyd@stupidchicken.com>
2
3 * term/x-win.el (x-select-enable-primary): Change default to nil.
4 (x-select-enable-clipboard): Add :version keyword.
5
6 * mouse.el (mouse-drag-copy-region):
7 * simple.el (select-active-regions): Likewise.
8
12010-07-16 Reiner Steib <Reiner.Steib@gmx.de> 92010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
2 10
3 * vc.el (vc-coding-system-inherit-eol): New defvar. 11 * vc.el (vc-coding-system-inherit-eol): New defvar.
diff --git a/lisp/mouse.el b/lisp/mouse.el
index b159add0d91..39c6993d973 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -44,7 +44,7 @@
44(defcustom mouse-drag-copy-region nil 44(defcustom mouse-drag-copy-region nil
45 "If non-nil, mouse drag copies region to kill-ring." 45 "If non-nil, mouse drag copies region to kill-ring."
46 :type 'boolean 46 :type 'boolean
47 :version "22.1" 47 :version "24.1"
48 :group 'mouse) 48 :group 'mouse)
49 49
50(defcustom mouse-1-click-follows-link 450 50(defcustom mouse-1-click-follows-link 450
diff --git a/lisp/simple.el b/lisp/simple.el
index 939fbfe4e15..10b8ab67ebc 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3670,7 +3670,7 @@ a mistake; see the documentation of `set-mark'."
3670 "If non-nil, an active region automatically becomes the window selection." 3670 "If non-nil, an active region automatically becomes the window selection."
3671 :type 'boolean 3671 :type 'boolean
3672 :group 'killing 3672 :group 'killing
3673 :version "23.1") 3673 :version "24.1")
3674 3674
3675(declare-function x-selection-owner-p "xselect.c" (&optional selection)) 3675(declare-function x-selection-owner-p "xselect.c" (&optional selection))
3676 3676
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index b3ce877be59..213f7f5230b 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -1223,12 +1223,14 @@ It is said that overlarge strings are slow to put into the cut buffer.")
1223 "Non-nil means cutting and pasting uses the clipboard. 1223 "Non-nil means cutting and pasting uses the clipboard.
1224This is in addition to, but in preference to, the primary selection." 1224This is in addition to, but in preference to, the primary selection."
1225 :type 'boolean 1225 :type 'boolean
1226 :group 'killing) 1226 :group 'killing
1227 :version "24.1")
1227 1228
1228(defcustom x-select-enable-primary t 1229(defcustom x-select-enable-primary nil
1229 "Non-nil means cutting and pasting uses the primary selection." 1230 "Non-nil means cutting and pasting uses the primary selection."
1230 :type 'boolean 1231 :type 'boolean
1231 :group 'killing) 1232 :group 'killing
1233 :version "24.1")
1232 1234
1233(defun x-select-text (text &optional push) 1235(defun x-select-text (text &optional push)
1234 "Select TEXT, a string, according to the window system. 1236 "Select TEXT, a string, according to the window system.