Fix up ido completion on MIME parts
authorLars Magne Ingebrigtsen <larsi@stories.(none)>
Sat, 7 Jan 2012 01:03:56 +0000 (02:03 +0100)
committerLars Magne Ingebrigtsen <larsi@stories.(none)>
Sat, 7 Jan 2012 01:03:56 +0000 (02:03 +0100)
* mm-decode.el (mm-interactively-view-part): Use `completing-read',
since ido doesn't work on symbols (bug#9632).

lisp/ChangeLog
lisp/mm-decode.el

index ee750e5..bb5e4d4 100644 (file)
@@ -1,5 +1,8 @@
 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * mm-decode.el (mm-interactively-view-part): Use `completing-read',
+       since ido doesn't work on symbols (bug#9632).
+
        * gnus.el (gnus-group-fast-parameter): Use the same precedence rules
        when getting a single value as when getting all the values.  This means
        that atoms like `gcc-self' work cumulatively, like variable settings,
index 23a442f..10e0fa2 100644 (file)
@@ -1353,7 +1353,7 @@ Use CMD as the process."
                  (mailcap-mime-info type 'all)))
         (method (let ((minibuffer-local-completion-map
                        mm-viewer-completion-map))
-                  (gnus-completing-read "Viewer" methods))))
+                  (completing-read "Viewer" methods))))
     (when (string= method "")
       (error "No method given"))
     (if (string-match "^[^% \t]+$" method)