X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/5ea0bc530190075d6b444e4f2ceadffaa37648c5..0c1f334fe4ba5af90491818fd95ff6c00775aeb8:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 3c213b9..31f612e 100644 --- a/dot/emacs +++ b/dot/emacs @@ -106,9 +106,10 @@ (require 'paren) (trap (show-paren-mode t)) (or window-system (mdw-emacs-version-p 22) (menu-bar-mode -1)) -(setq x-select-enable-clipboard nil - x-select-enable-primary t - mouse-drag-copy-region t) +(if (eq window-system 'x) + (setq x-select-enable-clipboard nil + x-select-enable-primary t)) +(setq mouse-drag-copy-region t) ;; Multiple cursors.