]> code.delx.au - gnu-emacs/blobdiff - lisp/mail/rmailout.el
Merge branch 'emacs-25-merge'
[gnu-emacs] / lisp / mail / rmailout.el
index 6b753b39e17c48d7287853dbe3c5d6485d5e7377..587d75f09b93f040b32f9520f4a72bf3548b46c3 100644 (file)
@@ -84,10 +84,14 @@ This uses `rmail-output-file-alist'."
                                        (eval (cdar tail))
                                      (error
                                       (display-warning
-                                       :error
-                                       (format "Error evaluating \
-`rmail-output-file-alist' element:\nregexp: %s\naction: %s\nerror: %S\n"
-                                               (caar tail) (cdar tail) err))
+                                       'rmail-output
+                                       (format-message "\
+Error evaluating `rmail-output-file-alist' element:
+regexp: %s
+action: %s
+error: %S\n"
+                                               (caar tail) (cdar tail) err)
+                                        :error)
                                       nil))))
                          (setq tail (cdr tail)))
                        answer))))))