From: Mark Wooding Date: Sun, 25 Jun 2017 18:02:44 +0000 (+0100) Subject: dot/emacs: Integrate the primary selection with the kill ring. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/726eec9cefda82ce4f40c5daa2c85abbac7b970b dot/emacs: Integrate the primary selection with the kill ring. Not the clipboard. Silly idea. --- diff --git a/dot/emacs b/dot/emacs index 4107fda..2ab16ad 100644 --- 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.