Files
emacs.d/init.el
Mateus Pinto Rodrigues f16b339144 Add and configure mu4e to read/send emails from emacs.
The mu4e package was installed through debian apt, I
have to find a way to manage it with straight.el
2019-10-25 16:46:19 -03:00

32 lines
1.1 KiB
EmacsLisp

;; Bootstrap straight.el package manager
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
;; Always use straight.el to install packages with use-package
(straight-use-package 'use-package)
(setq straight-use-package-by-default t)
;; Minimal package.el use so we can explore melpa packages
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/")
'("gnu" . "http://elpa.gnu.org/packages/"))
(add-to-list 'load-path "~/.emacs.d/elisp/")
;; load debian mu4e package
(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")
(load "~/.emacs.d/elisp/settings.el")
(load "~/.emacs.d/elisp/extras.el")
(load "~/.emacs.d/elisp/custom.el")