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.

14 lines
605 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" "$HOME/bin")
  6. (setenv "PATH" (concat osx-paths (getenv "PATH"))))
  7. (push path exec-path)
  8. (setq osx-paths (concat (concat path ":") osx-paths))))
  9. ;; Emacs users obviously have little need for Command and Option keys,
  10. ;; but they do need Meta and Super
  11. (setq mac-command-modifier 'super)
  12. (setq mac-option-modifier 'meta)
  13. (provide 'prelude-osx)