]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/gnus/nnmail.el (nnmail-crosspost-link-function): Simplify.
authorGlenn Morris <rgm@gnu.org>
Sat, 8 Apr 2017 20:45:55 +0000 (13:45 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 8 Apr 2017 20:45:55 +0000 (13:45 -0700)
lisp/gnus/nnmail.el

index 3f2e08171e08ae6fef4d1efec36e98b26b271001..71d9631776d81c87621d52d6f1a13f25250d2bc8 100644 (file)
@@ -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.