aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus/mail-source.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/mail-source.el')
-rw-r--r--lisp/gnus/mail-source.el15
1 files changed, 9 insertions, 6 deletions
diff --git a/lisp/gnus/mail-source.el b/lisp/gnus/mail-source.el
index eb05d714aba..94c8950988d 100644
--- a/lisp/gnus/mail-source.el
+++ b/lisp/gnus/mail-source.el
@@ -750,13 +750,16 @@ Deleting old (> %s day(s)) incoming mail file `%s'." diff bfile)
750 (setq script (substring script 0 (match-beginning 0)) 750 (setq script (substring script 0 (match-beginning 0))
751 background 0)) 751 background 0))
752 (setq result 752 (setq result
753 (call-process shell-file-name nil background nil 753 (call-process shell-file-name nil stderr nil
754 shell-command-switch script)) 754 shell-command-switch script))
755 (when (and result 755 (if (and result
756 (not (zerop result))) 756 (not (zerop result)))
757 (set-buffer stderr) 757 (progn
758 (message "Mail source error: %s" (buffer-string))) 758 (split-window-vertically)
759 (kill-buffer stderr))) 759 (other-window 1)
760 (switch-to-buffer stderr)
761 (message "Mail source error: %s " (buffer-string)))
762 (kill-buffer stderr))))
760 763
761;;; 764;;;
762;;; Different fetchers 765;;; Different fetchers