# HG changeset patch # User Richard M. Stallman # Date 743292971 0 # Node ID e610eb2fbb5b1b32f5b092d4a34a7239d4f74a9a # Parent bdcdbc742efebee0313fea8b215782dc84099c6a Try deleting version.el if it's not writable. diff -r bdcdbc742efe -r e610eb2fbb5b lisp/=inc-vers.el --- a/lisp/=inc-vers.el Wed Jul 21 22:12:08 1993 +0000 +++ b/lisp/=inc-vers.el Wed Jul 21 22:16:11 1993 +0000 @@ -41,6 +41,9 @@ (progn (skip-chars-forward "^\"") (point)))) +(if (and (file-accessible-directory-p "../lisp/") + (null (file-writable-p "../lisp/version.el"))) + (delete-file "../lisp/version.el")) (write-region (point-min) (point-max) "../lisp/version.el" nil 'nomsg) (erase-buffer) (set-buffer-modified-p nil)