all repos — nixfiles @ 089fc46ad23ad12b9be83705b10121750c325f08

System and user configuration, managed by nix and home-manager

Emacs: Improve X11 clipboard interoperability

Alan Pearce
commit

089fc46ad23ad12b9be83705b10121750c325f08

parent

6ce4aa99a7ea9a7996b971e38c83a56e4bab82af

1 file changed, 4 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -774,6 +774,10 @@ (put 'downcase-region 'disabled 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)