title: How to choose system type in Emacs
body: <p>I'm trying to configure my .emacs file to work in a Windows, Linux, and Mac environment--specifically, I need it to choose the correct font and a certain directory for org-mode.</p>
  
  <p>I have tried the following which loads the correct font, but does not load the path specified for org-mode:</p>
  
  <pre>
  ;; On Windows
  (if (eq system-type 'windows-nt)
      (set-default-font "-outline-Consolas-normal-r-normal-normal-14-97-96-96-c-*-iso8859-1")
    (setq load-path (cons "~/elisp/org-6.34c/lisp" load-path))
    )
  
  ;; On Linux
  (if (eq system-type 'gnu/linux)
      (set-default-font "Inconsolata-11")
    (setq load-path (cons "~/elisp/org-current/lisp" load-path))
    )
  </pre>
  
  <p>I have tried the following which on my Windows machine returns the error <code>Font Inconsolata-11 is not defined</code>, and on my Linux machine returns the error <code>Font -outline-Consolas-normal-r-normal-normal-14-97-96-96-c-*-iso8859-1 is not defined</code>.  For both, the specified org path is not loaded:</p>
  
  <pre>
  ;; On Windows
  (if (eq system-type 'windows-nt)
      (setq load-path (cons "~/elisp/org-6.34c/lisp" load-path))
    (set-default-font "-outline-Consolas-normal-r-normal-normal-14-97-96-96-c-*-iso8859-1")
    )
  
  ;; On Linux
  (if (eq system-type 'gnu/linux)
      (setq load-path (cons "~/elisp/org-current/lisp" load-path))
    (set-default-font "Inconsolata-11")
    )
  </pre>
  
  <p>I evaluated the <code>system-type</code> variable in both environments, and they both evaluate correctly.</p>
  
  <p>Can anyone see what's wrong--also, I'm not very versed in emacs-lisp, can you see what incorrect assumptions I'm making?</p>
  
  <p>Thank you,
  Zachary</p>