X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/b6f44b18d89f8dae5dd00791d42504d37a2e9907..daeece4beeba2316d11910130f4476cb9ac8efb2:/el/dot-emacs.el diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 1c484e6..fbc3899 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -963,6 +963,12 @@ tramp, which seems to get itself into a twist." (defadvice write-file (after mdw-autorevert activate) (mdw-check-autorevert)) +(defun mdw-auto-revert () + "Recheck all of the autorevertable buffers, and update VC modelines." + (interactive) + (let ((auto-revert-check-vc-info t)) + (auto-revert-buffers))) + ;;;-------------------------------------------------------------------------- ;;; Dired hacking. @@ -3461,6 +3467,8 @@ strip numbers instead." (list "[$^_{}#&]" '(0 mdw-punct-face))))) +(setq TeX-install-font-lock 'tex-font-setup) + (eval-after-load 'font-latex '(defun font-latex-jit-lock-force-redisplay (buf start end) "Compatibility for Emacsen not offering `jit-lock-force-redisplay'."