** M-x write-region, when used interactively, now asks for confirmation before overwriting an existing file. When you call the function from a Lisp program, a new optional argument CONFIRM says whether to ask for confirmation in this case.