   "Install all packages in SKP-PACKAGES."
   (message "Installing all custom packages")
   (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
-  (package-initialize)
   (unless (skp-packages-installed-p)
     (message "%s" "Refreshing and installing packages...")
     (package-refresh-contents)

    undo-tree
    )
  "All custom packages for a better Emacs.")

(defun hunspell-installed? ()
  (require 'ispell)

  (add-to-list 'before-save-hook 'delete-trailing-whitespace)
  (add-hook 'gnus-message-setup-hook (lambda () (flyspell-mode t)))
  (display-time)
  (global-display-line-numbers-mode 1)
  (global-undo-tree-mode)
  (add-hook 'find-file-hook 'auto-insert)
  (when (eq system-type 'darwin)
    (setq mac-command-modifier 'meta))
  (add-to-list 'default-frame-alist '(fullscreen . default)))
