Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
577 B

  1. ;; On OS X Emacs doesn't use the shell PATH if it's not started from
  2. ;; the shell.
  3. ;; If you're using homebrew or port, modifying the PATH is essential.
  4. (let (osx-paths)
  5. (dolist (path '("/usr/local/bin" "/opt/local/bin" "/opt/local/sbin") (setenv "PATH" (concat osx-paths (getenv "PATH"))))
  6. (push path exec-path)
  7. (setq osx-paths (concat (concat path ":") osx-paths))))
  8. ;; Emacs users obviously have little need for Command and Option keys,
  9. ;; but they do need Meta and Super
  10. (setq mac-command-modifier 'super)
  11. (setq mac-option-modifier 'meta)
  12. (provide 'prelude-osx)