]> git.eshelyaron.com Git - emacs.git/commit
Don't rewrite buffer contents after saving by rename (Bug#35497)
authorJonathan Tomer <jktomer@google.com>
Wed, 8 May 2019 07:13:58 +0000 (09:13 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 8 May 2019 07:13:58 +0000 (09:13 +0200)
commit21888a94648df813cef354a22b92be9b23673358
treef5b55ca6b78c17d1dc33272a30ce677bd63c0cd0
parentcd8a1d6bfdc5aebc34348801dbaca06f2f4986c5
Don't rewrite buffer contents after saving by rename (Bug#35497)

* lisp/files.el (basic-save-buffer-2): Don't rewrite file contents
after saving-by-renaming.  (Bug#35497)

* test/lisp/files-tests.el (files-tests-dont-rewrite-precious-files):
* test/lisp/net/tramp-tests.el
(tramp-test10-write-region-file-precious-flag): Regression tests
for this change.
lisp/files.el
test/lisp/files-tests.el
test/lisp/net/tramp-tests.el