Refactor core initfiles

This commit is contained in:
Henrik Lissner 2015-01-09 21:47:51 -05:00
parent 2a7dac1a4e
commit 8e7cd74e07
8 changed files with 157 additions and 176 deletions

View file

@ -1,5 +1,4 @@
;; Mac-specific settings
(provide 'core-osx)
;; Use a shared clipboard
(setq x-select-enable-clipboard t)
@ -8,8 +7,6 @@
;; Don't open files from the workspace in a new frame
(setq ns-pop-up-frames nil)
;; (setq ns-auto-hide-menu-bar t)
;; fix emacs PATH on OSX (GUI only)
(use-package exec-path-from-shell
:if (memq window-system '(mac ns))
@ -47,7 +44,5 @@
(defun my-send-dir-to-finder ()
(interactive) (my--open-file-with default-directory "Finder"))
(defun my-osx-psuedo-fullscreen ()
(interactive)
(set-frame-position nil 0 0)
(set-frame-size nil 362 112))
(provide 'core-osx)