From f4eb08b0e6bddc9c54e024c46e2035f9f22d399c Mon Sep 17 00:00:00 2001 From: Vladislav Slobodenyuk Date: Thu, 5 Dec 2024 19:06:12 +0900 Subject: [PATCH] Enable save-interprogram-paste-before-kill --- .config.d/05-basic.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config.d/05-basic.el b/.config.d/05-basic.el index ee0c2d7..b536a26 100644 --- a/.config.d/05-basic.el +++ b/.config.d/05-basic.el @@ -92,4 +92,8 @@ "https://planet.emacslife.com/atom.xml")) :bind (("C-c f" . elfeed))) +;; Setting this to true makes it so that Emacs saves existing clipboard text +;; into kill ring before replacing it. +(setq save-interprogram-paste-before-kill t) + ;;; 05-basic.el ends here