x-select-enable-clipboard => select-enable-clipboard
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 25 Jul 2022 11:38:25 +0300
changeset 1756 2495ee9cf84c
parent 1755 e99278df97cb
child 1757 bda24877724a
child 1759 1bbd7898cc9b
x-select-enable-clipboard => select-enable-clipboard
.emacs-my
--- a/.emacs-my	Mon Jul 25 11:34:41 2022 +0300
+++ b/.emacs-my	Mon Jul 25 11:38:25 2022 +0300
@@ -980,8 +980,9 @@
 (when window-system
   (set-face-attribute 'region nil :background "light blue"))
 
-(when (eq window-system 'x)
-  (setq x-select-enable-clipboard t))
+(setq select-enable-clipboard t)
+(setq select-enable-primary t)
+(setq save-interprogram-paste-before-kill nil)
 
 (when (fboundp 'er/expand-region)
   (global-set-key (kbd "s-w") 'er/expand-region))