Backup files on each save, without freezing Emacs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
contrapunctus c90b17c203 Define group, correct keywords 6 months ago
README.md Add README, UNLICENSE, and WTFPL 6 months ago
UNLICENSE Add README, UNLICENSE, and WTFPL 6 months ago
WTFPL Add README, UNLICENSE, and WTFPL 6 months ago
async-backup.el Define group, correct keywords 6 months ago

README.md

async-backup

Donate using Liberapay

Emacs has a built-in backup system, but it does not backup on each save. It can be made to, but that makes saving really slow (and the UI unresponsive), especially for large files.

Fortunately, Emacs has asynchronous processes.

To enable for all files - (add-hook 'after-save-hook #'async-backup)

To enable for a specific file - M-x add-file-local-variable RET eval RET (add-hook 'after-save-hook #'async-backup nil t) RET

License

Chronometrist is released under your choice of Unlicense or the WTFPL.

(See files UNLICENSE and WTFPL).