* mixi-gnus.el (message-mixi-p): Simplify.
authorbg66 <bg66>
Tue, 9 Jan 2007 04:38:31 +0000 (04:38 +0000)
committerbg66 <bg66>
Tue, 9 Jan 2007 04:38:31 +0000 (04:38 +0000)
ChangeLog
mixi-gnus.el

index 6012e77..e963711 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-01-09  OHASHI Akira  <bg66@koka-in.org>
 
+       * mixi-gnus.el (message-mixi-p): Simplify.
+
+2007-01-09  OHASHI Akira  <bg66@koka-in.org>
+
        * mixi.el (mixi-event-comment-list-regexp): Fix regexp.
 
 2007-01-09  OHASHI Akira  <bg66@koka-in.org>
index 2397ddc..5557ea4 100644 (file)
 (defun message-mixi-p ()
   "Say whether the current buffer contains a mixi message."
   (and (not message-this-is-news)
-       (or message-this-is-mail
-          (save-excursion
-            (save-restriction
-              (message-narrow-to-headers)
-              (or (message-fetch-field "mixi")
-                  (string-match shimbun-mixi-to-regexp
-                                (message-fetch-field "to"))))))))
+       (save-excursion
+        (save-restriction
+          (message-narrow-to-headers)
+          (or (message-fetch-field "mixi")
+              (string-match shimbun-mixi-to-regexp
+                            (message-fetch-field "to")))))))
 
 (defun message-send-via-mixi (arg)
   "Send the current message via mixi."