aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/rmail.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 08c6ed6d217..96f9e02816c 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -930,8 +930,10 @@ It returns t if it got any new messages."
930 ;; If getting from mail spool directory, 930 ;; If getting from mail spool directory,
931 ;; use movemail to move rather than just renaming, 931 ;; use movemail to move rather than just renaming,
932 ;; so as to interlock with the mailer. 932 ;; so as to interlock with the mailer.
933 (setq movemail (string= (file-name-directory file) 933 (setq movemail (string= file
934 (file-truename rmail-spool-directory)) 934 (file-truename
935 (concat rmail-spool-directory
936 (file-name-nondirectory file))))
935 popmail (string-match "^po:" (file-name-nondirectory file))) 937 popmail (string-match "^po:" (file-name-nondirectory file)))
936 (if popmail (setq file (file-name-nondirectory file) 938 (if popmail (setq file (file-name-nondirectory file)
937 renamep t)) 939 renamep t))