 ;;----------------------------------------------------------------------------
 ;; Window size and features
 ;;----------------------------------------------------------------------------
-(set-face-attribute 'default nil
-                    :family "monaco" :height 120)
-;; Default frame size (perfect for Macbook Pro when scrollbar and toolbar hidden...)
-(setq initial-frame-alist '((width  . 202) (height . 50) (top . 0) (left . 3) (tool-bar-lines . 0)))
-(setq default-frame-alist '((width  . 202) (height . 50) (top . 22) (left . 3) (tool-bar-lines . 0)))
+(when *macbook-pro-support-enabled*
+  (set-face-attribute 'default nil :family "monaco" :height 120)
+  ;; Default frame size (perfect for Macbook Pro when scrollbar and toolbar hidden...)
+  (setq initial-frame-alist '((width  . 202) (height . 50) (top . 0) (left . 3) (tool-bar-lines . 0)))
+  (setq default-frame-alist '((width  . 202) (height . 50) (top . 22) (left . 3) (tool-bar-lines . 0))))
+
 (tool-bar-mode nil)
 (scroll-bar-mode nil)
-;(fringe-mode '(nil . 0))
 
 
 ;;----------------------------------------------------------------------------

;;----------------------------------------------------------------------------
;; ECB (Emacs Code Browser)
;;----------------------------------------------------------------------------
; Change default location of semantic.cache files
(setq semanticdb-default-save-directory (expand-file-name "~/.semanticdb"))
(require 'cedet)
(require 'ecb-autoloads)


;;----------------------------------------------------------------------------

;;----------------------------------------------------------------------------
;; Augment search path for external programs (for OSX)
;;----------------------------------------------------------------------------
(when *macbook-pro-support-enabled*
  (dolist (dir '("/usr/local/bin" "/opt/local/bin"
                 "/opt/local/lib/postgresql81/bin" "~/bin"))
    (setenv "PATH" (concat (expand-file-name dir) ":" (getenv "PATH")))
    (setq exec-path (append (list (expand-file-name dir)) exec-path))))


;;----------------------------------------------------------------------------
