 (set-terminal-coding-system 'utf-8)
 (set-keyboard-coding-system 'utf-8)
 
-(add-to-list 'load-path "~/.emacs.d/core/")
-(add-to-list 'load-path "~/.emacs.d/packages/")
+(add-to-list 'load-path (concat user-emacs-directory "core"))
+(add-to-list 'load-path (concat user-emacs-directory "packages"))
 ;; ---
 
 ;; Pacotes Essenciais (Essential Packages)

;; ---

;; Segredos (Secrets)
(load "~/.emacs.d/secrets/secrets")
;; ---

;; Pacotes (Packages)

      scroll-margin 0
      scroll-preserve-screen-position 't
      ;; Backups and Autosave
      backup-directory-alist `(("." . ,(expand-file-name (concat user-emacs-directory ".cache/backups"))))
      auto-save-file-name-transforms `((".*" ,(expand-file-name (concat user-emacs-directory ".cache/autosave"))))
      ;; X
      x-gtk-use-system-tooltips nil)

