From 33da57a24d634069705990284f1e5fedb4bf7bd4 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 9 Jan 2016 15:28:43 +0900 Subject: [PATCH] Fix kill-ring for MSYS2 emacs -nw --- emacs.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 0bac6e2..9e947b0 100644 --- a/emacs.el +++ b/emacs.el @@ -377,7 +377,11 @@ IF OK-IF-ALREADY-EXISTS is true force download." (kbd "") (kbd "C-c")) '(keyboard-translate [pause] - (kbd "C-c")p)) + (kbd "C-c")p) + ;; TODO: move to other place later + (when (not window-system) + (setq interprogram-paste-function nil) + (setq interprogram-cut-function nil))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; global keys