                      dired-rainbow
                      ))
 
-(if (file-exists-p "~/rtags/src")
-    (add-to-list 'load-path "~/rtags/src"))
+(setq use-rtags (file-exists-p "~/rtags/src"))
+
+(when use-rtags
+  (add-to-list 'load-path "~/rtags/src"))
 
 (unless package-archive-contents
   (package-refresh-contents))

                     json-mode
                     json-navigator
                     haskell-mode
                     processing-mode
                     restart-emacs
                     diffview

                    nil
                    :background "gray85")   ;; terminal

(when use-rtags
  (set-face-attribute 'rtags-skippedline nil :background "gray70")
  (set-face-attribute 'rtags-warnline nil :background "#ccccff")
  (set-face-attribute 'rtags-errline nil :background "#eeb0b0"))

(set-face-attribute 'js2-external-variable
                    nil
