Files
.emacs.d/core/siren-core-osx.el
Jim Myhrberg 0375cd0328 Ensure module names cannot collide with core setup files
The core setup files for Emacs Siren which lives in the core directory
followed a `siren-*.el` naming convention, which is the same as the
naming convention for modules.

This means that the `modules/core/siren-packages.el` module for adding
packages for Emacs package development, was not being loaded due to it's
name conflicting with `core/siren-packages.el` which sets up and
configures the packaging system.

So all files under the root `core` directory now follow a
`siren-core-*.el` naming scheme, meaning modules should no longer
conflict with core files.
2019-08-17 17:00:35 +01:00

28 lines
709 B
EmacsLisp

;;; siren-core-osx.el --- jimeh's Emacs Siren: OS X specific settings.
;;; Commentary:
;; OS X specific settings and tweaks for Siren.
;;; Code:
;; Set default font
(if window-system
(set-face-attribute 'default nil :family "Monaco" :height 120))
;; Mac OS X Fullscreen (requires Emacs 24.4 or later)
(global-set-key (kbd "s-<return>") 'toggle-frame-fullscreen)
;; modifier keys
;; (setq mac-command-modifier 'super)
;; (setq mac-option-modifier 'meta)
;; (setq ns-alternate-modifier 'meta)
;; (setq ns-command-modifier 'super)
(setq ns-function-modifier 'hyper)
;; Don't use OSX Native fullscreen mode
(setq ns-use-native-fullscreen nil)
(provide 'siren-core-osx)
;;; siren-core-osx.el ends here