* elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from args.
authoryoichi <yoichi>
Sun, 27 Aug 2006 11:57:43 +0000 (11:57 +0000)
committeryoichi <yoichi>
Sun, 27 Aug 2006 11:57:43 +0000 (11:57 +0000)
elmo/ChangeLog
elmo/elsp-bsfilter.el

index bbe4206..9227c98 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
+       args.
+
 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
index 6ecf133..8cae0e7 100644 (file)
         nil (if elmo-spam-bsfilter-debug
                 (get-buffer-create "*Debug ELMO Bsfilter*"))
         nil
-        (append (if elmo-spam-bsfilter-shell-switch
-                    (list elmo-spam-bsfilter-shell-switch))
-                (list elmo-spam-bsfilter-program)
-                elmo-spam-bsfilter-args
-                (if elmo-spam-bsfilter-database-directory
-                    (list "--homedir" elmo-spam-bsfilter-database-directory))
-                (elmo-flatten args))))
+        (delq nil
+              (append (if elmo-spam-bsfilter-shell-switch
+                          (list elmo-spam-bsfilter-shell-switch))
+                      (list elmo-spam-bsfilter-program)
+                      elmo-spam-bsfilter-args
+                      (if elmo-spam-bsfilter-database-directory
+                          (list "--homedir" elmo-spam-bsfilter-database-directory))
+                      (elmo-flatten args)))))
 
 (luna-define-method elmo-spam-buffer-spam-p ((processor elsp-bsfilter)
                                             buffer &optional register)