;; -*- mode: emacs-lisp -*-
;;==============================================================================
;;; .emacs
;;
;;; Main Emacs Settings File
;;
;;; Author: Kyle W T Sherman
;;
;; Time-stamp: <2008-06-16 15:38:55 (kyle)>
;;==============================================================================

(message ";;; .emacs --> Start")

;; compile and load main init file
(let* ((file (expand-file-name "~/.emacs.d/init.el"))
       (file-comp (concat file "c")))
  (if (file-exists-p file)
      (progn
        (when (or
               (not (file-exists-p file-comp))
               (file-newer-than-file-p file file-comp))
          (byte-compile-file file))
        (load file))
    (message "Error loading %s" file)))

(message ";;; .emacs --> End")

;;==============================================================================
;;; End Of File
;;==============================================================================