* wl-summary.el (wl-summary-write-current-folder): Call wl-draft
authoryoichi <yoichi>
Mon, 11 Mar 2002 11:19:17 +0000 (11:19 +0000)
committeryoichi <yoichi>
Mon, 11 Mar 2002 11:19:17 +0000 (11:19 +0000)
        even if the guess failed.

        * wl-e21.el (wl-folder-toolbar): Remove "Guess" icon.
        (wl-summary-toolbar): Remove "Guess" icon and use "New" icon for
        wl-summary-write-current-folder.
        * wl-xmas.el: Ditto.

wl/ChangeLog
wl/wl-e21.el
wl/wl-summary.el
wl/wl-xmas.el

index 7e50444..3b05f10 100644 (file)
@@ -1,3 +1,13 @@
+2002-03-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
+
+       * wl-summary.el (wl-summary-write-current-folder): Call wl-draft
+       even if the guess failed.
+
+       * wl-e21.el (wl-folder-toolbar): Remove "Guess" icon.
+       (wl-summary-toolbar): Remove "Guess" icon and use "New" icon for
+       wl-summary-write-current-folder.
+       * wl-xmas.el: Ditto.
+
 2002-03-11  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * wl-summary.el (wl-summary-next-page): Force display message if
index 11d3cfc..cc10c79 100644 (file)
      wl-folder-sync-current-entity t "Sync Current Folder"]
     [wl-draft
      wl-draft t "Write a New Message"]
-    [wl-write-current-folder
-     wl-folder-write-current-folder t "Write for Current Folder"]
     [wl-folder-goto-draft-folder
      wl-folder-goto-draft-folder t "Go to Draft Folder"]
     [wl-folder-empty-trash
     [wl-summary-mark-as-important
      wl-summary-mark-as-important t "Mark Current Message as Important"]
     [wl-draft
-     wl-draft t "Write a New Message"]
-    [wl-write-current-folder
      wl-summary-write-current-folder t "Write for Current Folder"]
     [wl-summary-reply
      wl-summary-reply t "Reply to Current Message" ]
index a0a546b..f724f55 100644 (file)
@@ -5015,20 +5015,20 @@ Use function list is `wl-summary-write-current-folder-functions'."
          (setq func-list (cdr func-list))
        (setq guess-func (car func-list))
        (setq func-list nil)))
-    (when (null guess-func)
-      (error "Can't guess by folder %s" folder))
-    (unless (or (stringp (nth 0 guess-list))
-               (stringp (nth 1 guess-list))
-               (stringp (nth 2 guess-list)))
-      (error "Invalid value return guess function `%s'"
-            (symbol-name guess-func)))
-    (wl-draft (nth 0 guess-list) nil nil ; To:
-             (nth 1 guess-list) nil    ; Cc:
-             (nth 2 guess-list)        ; Newsgroups:
-             nil nil nil nil nil nil
-             folder)
-    (run-hooks 'wl-mail-setup-hook)
-    (mail-position-on-field "Subject")))
+    (if (null guess-func)
+       (wl-draft)
+      (unless (or (stringp (nth 0 guess-list))
+                 (stringp (nth 1 guess-list))
+                 (stringp (nth 2 guess-list)))
+       (error "Invalid value return guess function `%s'"
+              (symbol-name guess-func)))
+      (wl-draft (nth 0 guess-list) nil nil ; To:
+               (nth 1 guess-list) nil  ; Cc:
+               (nth 2 guess-list)      ; Newsgroups:
+               nil nil nil nil nil nil
+               folder)
+      (run-hooks 'wl-mail-setup-hook)
+      (mail-position-on-field "Subject"))))
 
 (defun wl-summary-forward (&optional without-setup-hook)
   ""
index 8f1bb42..90b5f23 100644 (file)
@@ -69,8 +69,6 @@
      wl-folder-sync-current-entity t "Sync Current Folder"]
     [wl-draft
      wl-draft t "Write a New Message"]
-    [wl-write-current-folder
-     wl-folder-write-current-folder t "Write for Current Folder"]
     [wl-folder-goto-draft-folder
      wl-folder-goto-draft-folder t "Go to Draft Folder"]
     [wl-folder-empty-trash
@@ -96,8 +94,6 @@
     [wl-summary-mark-as-important
      wl-summary-mark-as-important t "Mark Current Message as Important"]
     [wl-draft
-     wl-draft t "Write a New Message"]
-    [wl-write-current-folder
      wl-summary-write-current-folder t "Write for Current Folder"]
     [wl-summary-reply
      wl-summary-reply t "Reply to Current Message" ]