emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master f4bb93f: * lisp/gnus/nnmail.el (nnmail-crosspost-li


From: Glenn Morris
Subject: [Emacs-diffs] master f4bb93f: * lisp/gnus/nnmail.el (nnmail-crosspost-link-function): Simplify.
Date: Sat, 8 Apr 2017 16:46:04 -0400 (EDT)

branch: master
commit f4bb93fabc64dedac157087836e3c9e4a6a98140
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * 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 3f2e081..71d9631 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]