3 ms·
Put '(global-auto-revert-mode t) In the "custom-set-variables" section of your .emacs, and it will automatically reload any file open in emacs that changes
by npsimons 14y ago
Put
'(global-auto-revert-mode t)
In the "custom-set-variables" section of your .emacs, and it will automatically reload any file open in emacs that changes on disk (excepting files with unsaved changes). While it's a little slow doing the actual reloads under Cygwin, it's blinding fast on Linux. Works a charm with egg, haven't tried magit.