diff options
| author | Paul Eggert | 2016-10-18 09:36:03 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-10-18 09:37:13 -0700 |
| commit | 704fd2a7ae5087f4108cc7a821f856fcdac99eb4 (patch) | |
| tree | 91d5068d98c6d86755d9df25841ba7a3769962f0 /etc | |
| parent | 0956a3e41eea6a651a40bdbb8f8310a23733a739 (diff) | |
| download | emacs-704fd2a7ae5087f4108cc7a821f856fcdac99eb4.tar.gz emacs-704fd2a7ae5087f4108cc7a821f856fcdac99eb4.zip | |
delete-directory no longer errors when racing
Problem reported by Glenn Morris for package-test.el (Bug#24714).
* doc/lispref/files.texi (Create/Delete Dirs), etc/NEWS: Document this.
* lisp/files.el (files--force): New function.
(delete-directory): Use it to avoid error in this case.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -619,6 +619,11 @@ collection). | |||
| 619 | ** The new functions 'make-nearby-temp-file' and 'temporary-file-directory' | 619 | ** The new functions 'make-nearby-temp-file' and 'temporary-file-directory' |
| 620 | can be used for creation of temporary files of remote or mounted directories. | 620 | can be used for creation of temporary files of remote or mounted directories. |
| 621 | 621 | ||
| 622 | +++ | ||
| 623 | ** The function 'delete-directory' no longer signals an error when | ||
| 624 | operating recursively and when some other process deletes the directory | ||
| 625 | or its files before 'delete-directory' gets to them. | ||
| 626 | |||
| 622 | ** Changes in Frame- and Window- Handling | 627 | ** Changes in Frame- and Window- Handling |
| 623 | 628 | ||
| 624 | +++ | 629 | +++ |