                      (match-string 1))))))))
 
 (use-package dired-x
-  :commands (dired-jump dired-jump-other-window)
+  :commands (dired-jump dired-jump-other-window) ; In Emacs 28.1, this has been
+                                                 ; moved to dired.el, but we'll
+                                                 ; keep it here to support Emacs
+                                                 ; 27.2 as well.
   :init (setq dired-clean-confirm-killing-deleted-buffers t
               dired-x-hands-off-my-keys t
               dired-bind-man nil

                      #'(lambda ()
                          (subword-mode -1)))))

(use-package pdf-occur
  :commands (pdf-occur-global-minor-mode))

(use-package python
  :config (progn
            (unless (require 'lsp-pyright nil :no-error)

            (add-hook 'TeX-mode-hook
                      (lambda () (setq ispell-parser 'tex)))))


;; * Various Mode Configurations
