summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 96d105e..973b94a 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)