From 089fc46ad23ad12b9be83705b10121750c325f08 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 2 Jun 2013 20:21:43 +0100 Subject: Emacs: Improve X11 clipboard interoperability --- emacs/init.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 96d105e5..973b94a2 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -774,6 +774,10 @@ Also returns nil if pid is nil." (setq sentence-end-double-space nil line-move-visual nil) +(setq x-select-enable-clipboard t) +(if (functionp 'x-cut-buffer-or-selection-value) + (setq interprogram-paste-function 'x-cut-buffer-or-selection-value)) + ;; replace highlighted text rather than just inserting at point (delete-selection-mode t) -- cgit 1.4.1