Move (x-)?select-enable-clipboard to core-os.el

This commit is contained in:
Henrik Lissner 2016-09-22 13:51:04 +02:00
parent 8a1cdde137
commit 19bd579ede
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -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)