From f4bb93fabc64dedac157087836e3c9e4a6a98140 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 8 Apr 2017 13:45:55 -0700 Subject: [PATCH] * lisp/gnus/nnmail.el (nnmail-crosspost-link-function): Simplify. --- lisp/gnus/nnmail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index 3f2e08171e0..71d9631776d 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el @@ -263,7 +263,7 @@ It scans low-level sorted spools even when not required." :type 'function) (defcustom nnmail-crosspost-link-function - (if (string-match "windows-nt" (symbol-name system-type)) + (if (eq 'windows-nt system-type) 'copy-file 'add-name-to-file) "Function called to create a copy of a file. -- 2.39.2