From: kaoru Date: Tue, 1 May 2001 05:46:26 +0000 (+0000) Subject: * wl-summary.el (wl-summary-write-current-folder): Set cursor X-Git-Tag: wl-2_6-root~35 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=edcf9e1e4154122356b4411b93e9ff726629b5ec;p=elisp%2Fwanderlust.git * wl-summary.el (wl-summary-write-current-folder): Set cursor position on Subject: field. (Advised by Mito ) --- diff --git a/wl/ChangeLog b/wl/ChangeLog index d0d8726..e3c4056 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,9 @@ +2001-05-01 TAKAHASHI Kaoru + + * wl-summary.el (wl-summary-write-current-folder): Set cursor + position on Subject: field. + (Advised by Mito ) + 2001-04-12 Yoichi NAKAYAMA * wl-e21.el (wl-biff-init-icons): Don't use `call-interactively' to diff --git a/wl/wl-summary.el b/wl/wl-summary.el index 68ea945..e4c9dec 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -5116,16 +5116,13 @@ Use function list is `wl-summary-write-current-folder-functions'." (nth 2 guess-list)) ; Newsgroups: (setq flist nil) (setq flist (cdr flist)))) - (if guess-list - (progn - (wl-draft (nth 0 guess-list) ; To: - nil nil - (nth 1 guess-list) ; Cc: - nil - (nth 2 guess-list)) ; Newsgroups: - (run-hooks 'wl-mail-setup-hook)) -;;; (error "%s is not newsgroup" folder) - (error "Can't guess by folder %s" folder))))) + (when (null guess-list) + (error "Can't guess by folder %s" folder)) + (wl-draft (nth 0 guess-list) nil nil ; To: + (nth 1 guess-list) nil ; Cc: + (nth 2 guess-list)) ; Newsgroups: + (run-hooks 'wl-mail-setup-hook) + (mail-position-on-field "Subject")))) (defun wl-summary-forward (&optional without-setup-hook) ""