   (setq initial-major-mode 'fundamental-mode
         column-number-mode t
         visible-bell t
+        load-prefer-newer t
         ;; Garbage Collect
-        gc-cons-threshold (* 100 1024 1024) ; 100 MB
         jit-lock-defer-time nil
         jit-lock-stealth-nice 0.1
         jit-lock-stealth-time 0.2

;; Arquivo de inicialização do ambiente.

;;; Code:
(setq gc-cons-threshold 104857600
      load-prefer-newer t
      first-boot (file-exists-p (concat user-emacs-directory "elpa")))

;; Bootstrap `use-package'
(require 'package)

(setq package-enable-at-startup nil
      package-archives '(("gnu"   . "http://elpa.gnu.org/packages/")
                         ("melpa" . "https://melpa.org/packages/")))
(package-initialize)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

;; Init
(let ((file-name-handler-alist))
  (eval-when-compile
    (require 'use-package))
  (require 'diminish)
  (require 'bind-key)


  (set-selection-coding-system 'utf-8)
  (prefer-coding-system        'utf-8)
  (setq default-process-coding-system '(utf-8-unix . utf-8-unix))
  ;; ---

  ;; Hooks
  (add-hook 'before-save-hook 'delete-trailing-whitespace)

  (mouse-avoidance-mode 'animate)
  (fset 'yes-or-no-p 'y-or-n-p)
