]> code.delx.au - gnu-emacs/commit
backup-buffer now reports .emacs.d/%backup% ills
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 30 May 2015 06:02:07 +0000 (23:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 30 May 2015 06:02:39 +0000 (23:02 -0700)
commitab27722721afca4647a7eec0933ac9209e0eac30
tree046f02269591105a608535ca8a643a23a0294469
parent2c3dde9fc8b3ac33cc2e5071e05772f3f46d62ad
backup-buffer now reports .emacs.d/%backup% ills

* lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
fails due to disk space exhaustion or whatever, do not pretend
that it succeeded.  More generally, do a better job of checking
for I/O failures, and limit the scope of the condition-case to
just the operations where file errors should be caught and ignored
(Bug#20595).  Also, don't bother trying to delete later backups if
an earlier deletion fails, as this is a sign of trouble and it's
better to stop when there's trouble.
lisp/files.el