]> git.eshelyaron.com Git - emacs.git/commit
nnmail-cache-close should not use nofollow
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Feb 2020 01:10:21 +0000 (17:10 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Feb 2020 01:10:48 +0000 (17:10 -0800)
commit07da629926daf849aab248175c88cf53a5e21558
treea2d84bbae86d34d0ee4c9d9e535ff5aef2aee5bc
parent3766bf728a43933083f4525970bcf9fdace3838d
nnmail-cache-close should not use nofollow

nnmail-cache-close did not work when ~/.nnmail-cache was a symlink
to some other directory.  Reported by Michael Albinus (Bug#39793).
* lisp/gnus/nnbabyl.el (nnbabyl-create-mbox):
* lisp/gnus/nndiary.el (nndiary-generate-nov-file):
* lisp/gnus/nnfolder.el (nnfolder-possibly-change-group):
* lisp/gnus/nnmbox.el (nnmbox-create-mbox):
* lisp/gnus/nnml.el (nnml-generate-nov-file):
Pass ‘excl’ to nnmail-write-region when creating a file, for safety.
* lisp/gnus/nnmail.el (nnmail-write-region):
Add optional MUSTBENEW arg, to stay consistent with write-region.
Past ‘nofollow’ to set-file-modes only when MUSTBENEW is ‘excl’.
lisp/gnus/nnbabyl.el
lisp/gnus/nndiary.el
lisp/gnus/nnfolder.el
lisp/gnus/nnmail.el
lisp/gnus/nnmbox.el
lisp/gnus/nnml.el