diff options
author | Alan Pearce | 2016-11-08 16:57:49 +0100 |
---|---|---|
committer | Alan Pearce | 2016-11-08 16:57:49 +0100 |
commit | a519dc191d2c1aca3b68159f52bd5c5604f9f5c9 (patch) | |
tree | 83d996e6431711ef59e6db4a5889c18309cd5441 | |
parent | 86baba70f31308c3613b289dc4eb18b6f14dbc1a (diff) | |
download | nixfiles-a519dc191d2c1aca3b68159f52bd5c5604f9f5c9.tar.lz nixfiles-a519dc191d2c1aca3b68159f52bd5c5604f9f5c9.tar.zst nixfiles-a519dc191d2c1aca3b68159f52bd5c5604f9f5c9.zip |
Emacs: Save system clipboard in kill ring
-rw-r--r-- | tag-emacs/emacs.d/init.org | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 25867046..5a8445cc 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -2089,11 +2089,12 @@ The most important one for me is JSON property alignment. I like to use the clipboard more than the primary selection in X11. #+BEGIN_SRC emacs-lisp - (setq x-select-enable-clipboard t) + (setq x-select-enable-clipboard t + save-interprogram-paste-before-kill t) (if (functionp 'x-cut-buffer-or-selection-value) - (setq interprogram-paste-function 'x-cut-buffer-or-selection-value)) + (setq interprogram-paste-function 'x-cut-buffer-or-selection-value)) (when (boundp 'x-select-request-type) - (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))) + (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))) #+END_SRC ** Selection |