Emacs: Refresh/Revert File

By Xah Lee. Date: . Last updated: .
Alt+x revert-buffer
revert to last saved (update the file from disk)

To always refresh automatically when file on disk changed (by someone working remotely, or by a program), put this in your Emacs Init File:

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

Emacs: auto save, backup


Emacs Init

Init Basics

Keys

Font

Text Editing

Completion

File

Restore Things

Backup/AutoSave

Line

Appearance

Misc

Advanced Init Tips

packages