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 | dotfiles-a519dc191d2c1aca3b68159f52bd5c5604f9f5c9.tar.lz dotfiles-a519dc191d2c1aca3b68159f52bd5c5604f9f5c9.tar.zst dotfiles-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 2586704..5a8445c 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 |