Emacs: Refresh, Revert File

By Xah Lee. Date: . Last updated: .

Revert Buffer

Alt+x revert-buffer
revert to last saved (update the file from disk)

Auto Refresh File

put this in your Emacs Init File:

;; auto revert or refresh file when change detected
(global-auto-revert-mode 1)

Emacs, auto save, backup