[Mew-dist 05211] mew-send can't execute

Akihiro Motoki mokkun at example.com
1998年 6月 30日 (火) 09:02:17 JST


元木です。

From: Kazu Yamamoto (山本和彦) <kazu at example.com>
Subject: [Mew-dist 05210] b42
Date: Tue, 30 Jun 1998 07:25:33 +0900

> ftp.Mew.org:/pub/Mew/beta に mew-1.93b42.tar.gz を置きました。大分安定
> していると思います。
> 
> かんなのぱっちはもう少し待って下さい。
> 
> --かず

Mew を起動したあとで、mew-send を実行すると
mew-init が実行されないため、mew-buffer-hello は存在せず、
No buffer named  *mew hello*
で終了してしまいます。

以下のパッチで直ります。
# get-buffer を使用するのが適切かどうかは分かりません。
-- 
Akihiro Motoki <mokkun at example.com>

--- mew.el~	Tue Jun 30 07:21:15 1998
+++ mew.el	Tue Jun 30 09:01:51 1998
@@ -272,7 +272,8 @@
   (interactive)
   (mew-current-set 'window (current-window-configuration))
   (if (null mew-mail-path) (mew-init))
-  (kill-buffer mew-buffer-hello) ;; to ensure to back to *scratch*
+  ;; to ensure to back to *scratch*
+  (if (get-buffer mew-buffer-hello) (kill-buffer mew-buffer-hello))
   (mew-summary-send to cc subject))
 
 ;;;



Mew-dist メーリングリストの案内