]> git.eshelyaron.com Git - emacs.git/commit
Better handle errors when writing r-o files without backup
authorJens Schmidt <jschmidt4gnu@vodafonemail.de>
Thu, 19 Oct 2023 21:00:32 +0000 (23:00 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 25 Oct 2023 12:56:39 +0000 (15:56 +0300)
commit8d2a04f4c0bf423e17b8dc97fb4a5743b1b3793a
tree17cb3d0f26a4f0fec1cf51fe0f9ad88865dfe015
parent90474045c079af992d7a1aea2016d90a3f6d8a01
Better handle errors when writing r-o files without backup

* lisp/files.el (basic-save-buffer-2): Restore file permissions when
writing read-only files without backup fails.  (Bug#66546)
lisp/files.el