Commit 912a4792 authored by Guilherme Semente's avatar Guilherme Semente 🌱

Load local settings last

parent 42e0ea26
......@@ -18,6 +18,8 @@
(require 'cl)
(defvar user-home-directory (getenv "HOME"))
(progn
......@@ -44,18 +46,6 @@ And load `use-package'..."
(require 'use-package))
(progn
"Load local settings
These settings are often sensitive or too much specific and not
worth to share."
;; Load local settings if it exists
(load "~/etc/emacs/local.el.gpg" t))
(progn
......@@ -127,9 +117,8 @@ You may find other key bindings inside use-package statements."
"General and most essential settings"
(setq user-full-name semente-full-name
user-mail-address semente-mail-address
user-home-directory (getenv "HOME"))
(setq user-full-name "semente"
user-mail-address "semente@localhost")
;; This variable is the equivalent of the PATH environment variable for Emacs
(setq exec-path
......@@ -1190,4 +1179,15 @@ You may find other key bindings inside use-package statements."
(load custom-file))
(progn
"Load local settings
These settings are often sensitive or too much specific and not
worth to share."
;; Load local settings if it exists
(load "~/etc/emacs/local.el.gpg" t))
;;; .emacs ends here
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment