spacemacs/layers/+os/osx/config.el
2016-08-28 14:23:34 +03:00

24 lines
753 B
EmacsLisp

;;; config.el --- OSX Layer config File for Spacemacs
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defvar osx-use-option-as-meta t
"If non nil the option key is mapped to meta. Set to `nil` if you need the
option key to type common characters.")
(defvar osx-use-dictionary-app t
"If non nil use osx dictionary app instead of wordnet")
;; Use the OS X Emoji font for Emoticons
(when (fboundp 'set-fontset-font)
(set-fontset-font "fontset-default"
'(#x1F600 . #x1F64F)
(font-spec :name "Apple Color Emoji") nil 'prepend))