(defvar thoom/dir (file-name-directory load-file-name) "The root dir of the Thoom Emacs distribution.") (defvar thoom/modules-dir (expand-file-name "modules" thoom/dir) "This directory houses all of the built-in Prelude modules.") (add-to-list 'load-path thoom/modules-dir) ;; Set a location for the custom file so it doesn't pollute this file. (setq custom-file (locate-user-emacs-file "custom-vars.el")) ;; Elpaca package manager (require 'thoom-elpaca) (require 'thoom-os) (require 'thoom-completion) (require 'thoom-theme) (require 'thoom-tweaks) (use-package magit :after seq :ensure t :custom (magit-save-repository-buffers 'dontask) :bind (("C-x g" . magit-status) :map magit-mode-map (":" . execute-extended-command) ("x" . magit-discard)))