             (add-hook 'LaTeX-mode-hook #'turn-on-reftex)
             (add-hook 'latex-mode-hook #'turn-on-reftex)
 
-            (add-hook 'LaTeX-mode-hook '(lambda ()
-                                          (TeX-PDF-mode 1)
-                                          (TeX-source-correlate-mode 1)
-                                          (TeX-fold-mode 1)))
+            (add-hook 'LaTeX-mode-hook #'(lambda ()
+                                           (TeX-PDF-mode 1)
+                                           (TeX-source-correlate-mode 1)
+                                           (TeX-fold-mode 1)))
 
 
             (add-to-list 'TeX-view-program-selection

                 ;; `pcomplete-ignore-case’ is non-nil by default.
                 (when on-windows
                   (add-to-list 'eshell-mode-hook
                                (lambda ()
                                  (setq pcomplete-ignore-case nil))))

                 ;; Sometimes, when completing path names and immediately
                 ;; hitting RET, `completion-in-region-mode' still seems to be

                          (ediff-files file2 file1)
                        (ediff-files file1 file2))
                      (add-hook 'ediff-after-quit-hook-internal
                                #'(lambda ()
                                    (setq ediff-after-quit-hook-internal nil)
                                    (set-window-configuration wnd))))
                  (error "No more than 2 files should be marked"))))

            (defun dired-back-to-top ()
