                 (message "No Compilation Errors!"))
         compilation-skip-threshold 2)))
   (add-hook 'compilation-start-hook
-            #'(lambda (_proc) (compilation-set-skip-threshold 2)))
-
-  (add-hook 'compilation-mode-hook #'(lambda ()
+            (lambda (_proc) (compilation-set-skip-threshold 2)))
+
+  (add-hook 'compilation-mode-hook (lambda ()
                                         (when (fboundp 'evil-mode)
                                           (evil-make-intercept-map compilation-mode-map 'normal)
                                           (evil-normalize-keymaps)))))

  (setq compilation-scroll-output t
        compilation-ask-about-save nil    ; save all modified
        compilation-auto-jump-to-first-error t
        compilation-finish-functions #'(lambda (_buf str)
          (compilation-set-skip-threshold 1)
          (if (null (string-match ".*exited abnormally.*" str))
              ;;if no errors, make the compilation window go away in a few seconds

      x-gtk-use-system-tooltips nil)                        ; allow tooltip theming

(add-hook 'after-init-hook                                  ; report init time
          (lambda ()
            (message "Time to initialize: %s"
                     (emacs-init-time))))
(add-hook 'prog-mode-hook                                   ; stuff for all programming modes
