dot/emacs: Integrate the primary selection with the kill ring.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 25 Jun 2017 18:02:44 +0000 (19:02 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 25 Jun 2017 18:02:44 +0000 (19:02 +0100)
Not the clipboard.  Silly idea.

dot/emacs

index 4107fda..2ab16ad 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
@@ -97,6 +97,9 @@
 (require 'paren)
 (trap (show-paren-mode t))
 (or window-system (mdw-emacs-version-p 22) (menu-bar-mode -1))
+(setq x-select-enable-clipboard nil
+      x-select-enable-primary t
+      mouse-drag-copy-region t)
 
 ;; Multiple cursors.