Add 2011 to FSF/AIST copyright years.
[gnus] / lisp / mm-decode.el
index ab3b378..5a3972e 100644 (file)
@@ -1,7 +1,7 @@
 ;;; mm-decode.el --- Functions for decoding MIME things
 
-;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
-;;   2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
+;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+;;   2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;;     MORIOKA Tomohiko <morioka@jaist.ac.jp>
@@ -1370,7 +1370,7 @@ Use CMD as the process."
   (setq handles (reverse handles))
   (dolist (disc (reverse mm-discouraged-alternatives))
     (dolist (handle (copy-sequence handles))
-      (when (string-match disc (mm-handle-media-type elem))
+      (when (string-match disc (mm-handle-media-type handle))
        (setq handles (nconc (delete handle handles) (list handle))))))
   ;; Remove empty parts.
   (dolist (handle (copy-sequence handles))