From 8dac51061d42b3d0759dbcfc29379313dc2ceb9b Mon Sep 17 00:00:00 2001 From: bg66 Date: Thu, 31 Jul 2008 11:33:20 +0000 Subject: [PATCH] (mixi-gnus-setup): Avoid matching with bogus addresses for `message-send-via-mixi'. --- ChangeLog | 5 +++++ mixi-gnus.el | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5174fac..a4b51b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-31 OHASHI Akira + + * mixi-gnus.el (mixi-gnus-setup): Avoid matching with bogus addresses + for `message-send-via-mixi'. + 2008-07-08 OHASHI Akira * mixi-el: Version 1.4.2 released. diff --git a/mixi-gnus.el b/mixi-gnus.el index 78c5cd3..1d00893 100644 --- a/mixi-gnus.el +++ b/mixi-gnus.el @@ -1,6 +1,6 @@ ;;; mixi-gnus.el --- Gnus integration for mixi -;; Copyright (C) 2007 OHASHI Akira +;; Copyright (C) 2007, 2008 OHASHI Akira ;; Author: OHASHI Akira ;; Keywords: news @@ -77,7 +77,10 @@ (let ((method '(mixi message-mixi-p message-send-via-mixi))) (unless (member method message-send-method-alist) (setq message-send-method-alist - (cons method message-send-method-alist))))) + (cons method message-send-method-alist)))) + ;; Avoid matching with bogus addresses for `message-send-via-mixi'. + (setq message-bogus-addresses + (remove "[ \t]" message-bogus-addresses))) (provide 'mixi-gnus) -- 1.7.10.4