(add-to-list 'load-path "~/.emacs.d/")
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
;; Add in your own as you wish:
(defvar my-packages '(eh-basic eh-functions eh-gnus eh-keybindings)
"A list of packages to ensure are installed at launch.")
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))
;; 用户名和电子邮件设置
(setq user-full-name "tumashu")
(setq user-mail-address "mail@mail.com")