     (declare (indent defun))
     `(eval-after-load ,feature
        '(progn ,@body))))
+
+;; Increase memory threshold for garbage collection.
+(setq gc-cons-threshold 20000000)
 
 ;; Enhanced list-packages replacement.
 (use-package paradox

   ("f" ar/find-all-dired-current-dir "find all")
   ("q" nil "cancel")))

(global-set-key
 (kbd "C-c o")
 (defhydra hydra-open (:color blue)

;; displays hex strings representing colors
(use-package rainbow-mode
  :ensure t)
(rainbow-mode 1)

;; Activate smerge on conflicts.
(defun sm-try-smerge ()
