;;; init --- user init file -*- no-byte-compile: t -*- ;;; Commentary: ;; Entry point for Emacs init. ;; Ensures that main init code is up-to-date by loading the newest version. ;; ;;; Code: (setq load-prefer-newer t package-user-dir (concat "~/.emacs.d/packages/" emacs-version "/elpa")) (setq package-archives nil) (package-initialize) (require 'auto-compile nil :noerror) (when (featurep 'auto-compile) (auto-compile-on-load-mode)) (load-file (expand-file-name "main.el" user-emacs-directory)) ;;; init ends here