From dbbbaac384cc7474b19e168cc0c8111745aedf5c Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 29 Aug 2017 17:32:04 +0100 Subject: [PATCH] Emacs: Save interprogram paste before kill --- .emacs.d/lisp/main.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/main.el b/.emacs.d/lisp/main.el index de475d97..ff2f0c17 100644 --- a/.emacs.d/lisp/main.el +++ b/.emacs.d/lisp/main.el @@ -267,7 +267,8 @@ ;;; Clipboard and primary selection. ;; (setq select-enable-clipboard t) -(setq select-enable-primary t) +(setq select-enable-primary t + save-interprogram-paste-before-kill t) ;;; Move mouse away. (mouse-avoidance-mode 'banish)