* wl-draft.el (wl-draft):
authoryoichi <yoichi>
Sun, 17 Mar 2002 09:42:56 +0000 (09:42 +0000)
committeryoichi <yoichi>
Sun, 17 Mar 2002 09:42:56 +0000 (09:42 +0000)
Remove unnecesary part about positioning of the cursor.

wl/ChangeLog
wl/wl-draft.el

index b1ddfea..a1b928b 100644 (file)
@@ -2,8 +2,7 @@
 
        * wl-summary.el (wl-summary-write-current-folder): If it cannot
        guess anything, call wl-summary-write interactively.
-       * wl-draft.el (wl-draft): Undo corresponding part of the last
-       change (the blank To header).
+       * wl-draft.el (wl-draft): Undo unnecessary part of the last change.
 
 2002-03-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
index d9d400f..e7b87cf 100644 (file)
@@ -1499,15 +1499,9 @@ Derived from `message-save-drafts' in T-gnus."
     (goto-char (point-min))
     (wl-user-agent-compose-internal) ;; user-agent
     (cond ((and
-           (or (interactive-p)
-               (eq this-command 'wl-summary-write)
-               (eq this-command 'wl-summary-write-current-folder)
-               (eq this-command 'wl-folder-write-current-folder))
+           (interactive-p)
            (string= (cdr (assq 'To header-alist)) ""))
           (mail-position-on-field "To"))
-         ((or (eq this-command 'wl-summary-write-current-folder)
-               (eq this-command 'wl-folder-write-current-folder))
-          (mail-position-on-field "Subject"))
          (t
           (goto-char (point-max))))
     buf-name))