Backup files and auto-save files are two methods by which Emacs tries to protect the user from the consequences of crashes or of the user’s own errors. Auto-saving preserves the text from earlier in the current editing session; backup files preserve file contents prior to the current session.
• Backup Files: | How backup files are made; how their names are chosen. | |
• Auto-Saving: | How auto-save files are made; how their names are chosen. | |
• Reverting: |
revert-buffer , and how to customize what it does. |
Copyright © 1990-1996, 1998-2019 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Backups-and-Auto_002dSaving.html