X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/d9bba20d844729f8d004a91a46d87f8308842af3..daeece4beeba2316d11910130f4476cb9ac8efb2:/el/dot-emacs.el diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 48d17af..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.