better system-type handling

This commit is contained in:
Bozhidar Batsov 2011-10-20 00:54:17 +03:00
parent 8caeaa71c9
commit 7b108c386b
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@
;; On OS X Emacs doesn't use the shell PATH if it's not started from
;; the shell. If you're using homebrew modifying the PATH is essential.
(if (string= system-type "darwin")
(if (eq system-type 'darwin)
(push "/usr/local/bin" exec-path))
(defvar prelude-dir (file-name-directory load-file-name)

View file

@ -78,7 +78,7 @@ Common Lisp."
(sbcl ("sbcl" "--noinform") :coding-system utf-8-unix)))
;; select the default value from slime-lisp-implementations
(if (string= system-type "darwin")
(if (eq system-type 'darwin)
;; default to Clozure CL on OS X
(setq slime-default-lisp 'ccl)
;; default to SBCL on Linux and Windows

View file

@ -39,7 +39,7 @@
;; Emacs users obviously have little need for Command and Option keys,
;; but they do need Meta and Super
(when (string= system-type "darwin")
(when (eq system-type 'darwin)
(setq mac-command-modifier 'super)
(setq mac-option-modifier 'meta))