This repository has been archived on 2023-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
contrapunctus 9e73f1f6ed Correct license statement 2023-04-12 20:09:16 +05:30
README.md Correct license statement 2023-04-12 20:09:16 +05:30
UNLICENSE Add README, UNLICENSE, and WTFPL 2021-11-23 17:28:54 +05:30
WTFPL Add README, UNLICENSE, and WTFPL 2021-11-23 17:28:54 +05:30
async-backup.el Add optional FILE parameter; fix handling of files without extensions 2022-01-31 20:08:02 +05:30

README.md

async-backup

Donate using Liberapay

MELPA

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

async-backup is released under your choice of Unlicense or the WTFPL.

(See files UNLICENSE and WTFPL).