Changed indentation to avoid a gcc warning.
[mymail.git] / mymail-vm.el
index 08c41ad..2c9970f 100644 (file)
@@ -52,7 +52,7 @@ If the request string is empty, use
 
 The string `mymail/default-additional-search-requests' is automatically
 concatenated to the provided request, except if the request is
-prefaced with \\."
+prefaced with `\\'."
   (interactive
    (list (read-string "mymail-vm: " nil 'mymail-vm-history)))
 
@@ -96,5 +96,12 @@ prefaced with \\."
                          search-args))
            0)
         (vm-visit-folder mbox-name t)
-      (message "mymail failed. See /tmp/mymail.err"))
+
+      ;; (message "mymail failed. See /tmp/mymail.err"))
+
+      (message (with-temp-buffer
+                 (insert-file-contents "/tmp/mymail.err")
+                 (replace-string "\n" " ")
+                 (buffer-string)))
+      )
     ))