From 19bd579ede33204930c98b22894fb29be1864cf9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 22 Sep 2016 13:51:04 +0200 Subject: [PATCH] Move (x-)?select-enable-clipboard to core-os.el --- core/core-os-osx.el | 5 +---- core/core-os.el | 4 ++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/core/core-os-osx.el b/core/core-os-osx.el index 21295e3ef..9e943e155 100644 --- a/core/core-os-osx.el +++ b/core/core-os-osx.el @@ -2,10 +2,7 @@ (global-set-key (kbd "M-q") 'kill-emacs) -;; Use a shared clipboard -(setq x-select-enable-clipboard t - select-enable-clipboard t - ;; Prefixes: Command = M, Alt = A +(setq ;; Prefixes: Command = M, Alt = A mac-command-modifier 'meta mac-option-modifier 'alt ;; sane trackpad/mouse scroll settings diff --git a/core/core-os.el b/core/core-os.el index 95056e866..1f217702a 100644 --- a/core/core-os.el +++ b/core/core-os.el @@ -4,6 +4,10 @@ (defconst IS-LINUX (eq system-type 'gnu/linux)) (defconst IS-WINDOWS (eq system-type 'windows-nt)) +;; Use a shared clipboard +(setq x-select-enable-clipboard t + select-enable-clipboard t) + ;; Stubs, these should be defined in all OS modules (noop! doom-open-with (&optional app-name path)) (noop! os-switch-to-term)