(mh-send-letter): Call split-string on mh-send-args when sending
authorBill Wohler <wohler@newt.com>
Sat, 23 Feb 2008 18:36:58 +0000 (18:36 +0000)
committerBill Wohler <wohler@newt.com>
Sat, 23 Feb 2008 18:36:58 +0000 (18:36 +0000)
synchronously too.

lisp/mh-e/ChangeLog
lisp/mh-e/mh-comp.el

index 93ae047..462f938 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-24  Bill Wohler  <wohler@newt.com>
+
+       * mh-comp.el (mh-send-letter): Call split-string on mh-send-args
+       when sending synchronously too.
+
 2008-02-19  Bill Wohler  <wohler@newt.com>
 
        * mh-comp.el (mh-annotate-msg):
index ef97796..69e5d1c 100644 (file)
@@ -295,13 +295,15 @@ use `mh-send-prog' to tell MH-E the name."
     (cond (arg
            (pop-to-buffer mh-mail-delivery-buffer)
            (erase-buffer)
-           (mh-exec-cmd-output mh-send-prog t "-watch" "-nopush"
-                               "-nodraftfolder" mh-send-args file-name)
+           (mh-exec-cmd-output mh-send-prog t
+                               "-nodraftfolder" "-watch" "-nopush"
+                               (split-string mh-send-args) file-name)
            (goto-char (point-max))      ; show the interesting part
            (recenter -1)
            (set-buffer draft-buffer))   ; for annotation below
           (t
-           (mh-exec-cmd-daemon mh-send-prog nil "-nodraftfolder" "-noverbose"
+           (mh-exec-cmd-daemon mh-send-prog nil
+                               "-nodraftfolder" "-noverbose"
                                (split-string mh-send-args) file-name)))
     (if mh-annotate-char
         (mh-annotate-msg mh-sent-from-msg