]> git.eshelyaron.com Git - emacs.git/commit
Don't accumulate trailing newlines on every save of .dir-locals.el
authorJuri Linkov <juri@linkov.net>
Thu, 7 Jul 2022 06:31:02 +0000 (09:31 +0300)
committerJuri Linkov <juri@linkov.net>
Thu, 7 Jul 2022 06:31:02 +0000 (09:31 +0300)
commit6f872ea8e70e777f07e19f3eb1ff0c77dcdcba63
treea639705400c40aefc2eedc321a345ce98db201de
parentba63d8783bfd9a484106718346c7dbf6729c4c0f
Don't accumulate trailing newlines on every save of .dir-locals.el

* lisp/files-x.el (modify-dir-local-variable): Insert a newline
only after creating a new file.
(dir-locals-to-string): Remove newline to not add more newlines
on every save.
lisp/files-x.el