Variable: nnmail-crosspost-link-function
nnmail-crosspost-link-function is a customizable variable defined in
nnmail.el.gz.
Value
add-name-to-file
Documentation
Function called to create a copy of a file.
This is add-name-to-file by default, which means that crossposts
will use hard links. If your file system doesn't allow hard
links, you could set this variable to copy-file instead.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnmail.el.gz
(defcustom nnmail-crosspost-link-function
(if (eq 'windows-nt system-type)
'copy-file
'add-name-to-file)
"Function called to create a copy of a file.
This is `add-name-to-file' by default, which means that crossposts
will use hard links. If your file system doesn't allow hard
links, you could set this variable to `copy-file' instead."
:group 'nnmail-files
:type '(radio (function-item add-name-to-file)
(function-item copy-file)
(function :tag "Other")))