diff options
author | Alan Pearce | 2013-06-02 20:21:43 +0100 |
---|---|---|
committer | Alan Pearce | 2013-06-02 20:21:43 +0100 |
commit | 089fc46ad23ad12b9be83705b10121750c325f08 (patch) | |
tree | 1e7cfb2e0a2a3a77c8b94d889f79d2786cd76379 | |
parent | 6ce4aa99a7ea9a7996b971e38c83a56e4bab82af (diff) | |
download | dotfiles-089fc46ad23ad12b9be83705b10121750c325f08.tar.lz dotfiles-089fc46ad23ad12b9be83705b10121750c325f08.tar.zst dotfiles-089fc46ad23ad12b9be83705b10121750c325f08.zip |
Emacs: Improve X11 clipboard interoperability
-rw-r--r-- | emacs/init.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 96d105e..973b94a 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -774,6 +774,10 @@ Also returns nil if pid is nil." (setq sentence-end-double-space nil line-move-visual nil) +(setq x-select-enable-clipboard t) +(if (functionp 'x-cut-buffer-or-selection-value) + (setq interprogram-paste-function 'x-cut-buffer-or-selection-value)) + ;; replace highlighted text rather than just inserting at point (delete-selection-mode t) |