   (setq fci-rule-column 80)
   (global-set-key (kbd "C-c F") 'fci-mode))
 
+;;; ------------------------------------------------------------------
 ;;; Solarized color theme
 ;;; - http://ethanschoonover.com/solarized
 ;;; - https://github.com/sellout/emacs-color-theme-solarized
-(when (require 'color-theme-solarized nil 'noerror)
-  (load-theme 'solarized t)
+
+(let ((path "~/.emacs.d/emacs-color-theme-solarized"))
+  (when (file-directory-p path)
+    (add-to-list 'custom-theme-load-path path)
+    (load-theme 'solarized t))
+
   (defun toggle-solarized-light ()
     "Switch dark/light modes of Solarized color theme."
     (interactive)

  :ensure t
  :bind (("C-c n" . nlinum-mode)))

;XXX; ;;; Disable italic font style in comments and documentation.
;XXX; (set-face-italic 'font-lock-comment-face nil)
;XXX; (set-face-italic 'font-lock-doc-face nil)

;XXX; (use-package use-package-chords
;XXX;   :ensure t
;XXX;   :config (key-chord-mode 1))



          (if (eq frame-background-mode 'dark) 'light 'dark))
    (load-theme 'solarized t)
    (mapc 'frame-set-background-mode (frame-list)))

  (global-set-key (kbd "C-M-8") 'toggle-solarized-light))
;;; ------------------------------------------------------------------

;;; "Undo" (and "redo") changes in the window configuration with the
;;; key commands `C-c left' and `C-c right'.
