Add darwin modifier remapping to init.el

See comment for details.
This commit is contained in:
Ivan Malison 2016-06-28 20:42:42 -07:00
parent 7d1f7ed2b5
commit d14012b6d6

View File

@ -7,6 +7,12 @@
(setq custom-file "~/.emacs.d/custom-before.el") (setq custom-file "~/.emacs.d/custom-before.el")
(when (file-exists-p custom-file) (load custom-file)) (when (file-exists-p custom-file) (load custom-file))
;; If this isn't here and there's a problem with init, graphical emacs
;; is super annoying.
(when (equal system-type 'darwin)
(setq mac-option-modifier 'meta)
(setq mac-command-modifier 'super))
(org-babel-load-file (org-babel-load-file
(concat (file-name-directory load-file-name) "README.org")) (concat (file-name-directory load-file-name) "README.org"))