                       :background "default")
   ;; Automatically remove whitespace on saving.
   (add-hook 'before-save-hook 'whitespace-cleanup)
-  (global-whitespace-mode))
+  (add-hook 'prog-mode-hook 'whitespace-mode))
 
 (defun ar/compile-autoclose (buffer string)
   "Hide successful builds window with BUFFER and STRING."

    ar/mode-icons-supported-p))

;; Yay mode icons!
(use-package mode-icons
  :ensure t
  :config
  (advice-add 'mode-icons-supported-p
              :around
              'ar/mode-icons-supported-p-advice-fun)
  (when (window-system)
    (mode-icons-mode +1)))

(use-package tramp
  :config


(use-package company-emoji :ensure t)

;; Slow. Disabling.
;; (use-package emojify :ensure t
;;   :config
;;   (global-emojify-mode +1))

(use-package objc-mode
  :bind (:map objc-mode-map
