'Selecting deleted buffer' error when original buffer is killed.
+2002-10-29 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-message.el (wl-message-get-original-buffer): Avoid
+ 'Selecting deleted buffer' error when original buffer is killed.
+
2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
* Version number is increased to 2.11.0.
(defun wl-message-get-original-buffer ()
"Get original buffer for current message buffer."
- wl-message-buffer-original-buffer)
+ (if (buffer-live-p wl-message-buffer-original-buffer)
+ wl-message-buffer-original-buffer
+ (wl-original-message-buffer-get (buffer-name (current-buffer)))))
(defun wl-message-add-buttons-to-body (start end)
(save-excursion