* admin/unidata/unidata-gen.el (unidata-gen-files):

Fix deletion of existing output files after 2013-10-30 changes.
This commit is contained in:
Glenn Morris 2013-11-08 19:12:56 -05:00
parent 1629a32997
commit 129c301bf7
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-11-09 Glenn Morris <rgm@gnu.org>
* unidata/unidata-gen.el (unidata-gen-files):
Fix deletion of existing output files after 2013-10-30 changes.
2013-11-07 Glenn Morris <rgm@gnu.org>
* unidata/unidata-gen.el (unidata-gen-files):

View file

@ -1196,7 +1196,7 @@ is the character itself.")))
(unidata-dir data-dir))
(dolist (elt unidata-prop-alist)
(let* ((prop (car elt))
(file (unidata-prop-file prop)))
(file (expand-file-name (unidata-prop-file prop) dest-dir)))
(if (file-exists-p file)
(delete-file file))))
(unidata-setup-list unidata-text-file)