When prompting for MIME info, if there's only one choice, don't bother
authorChris Hanson <org/chris-hanson/cph>
Mon, 26 Jun 2000 19:08:18 +0000 (19:08 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 26 Jun 2000 19:08:18 +0000 (19:08 +0000)
prompting.

v7/src/imail/imail-top.scm

index 84f3c084ff0814859efb14f16848041e1763fbbd..75798430a4b34bdf19e84288fd06d7f82091aad9 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: imail-top.scm,v 1.191 2000/06/26 19:07:29 cph Exp $
+;;; $Id: imail-top.scm,v 1.192 2000/06/26 19:08:18 cph Exp $
 ;;;
 ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
 ;;;
@@ -828,7 +828,7 @@ With prefix argument, prompt even when point is on an attachment."
                             i.m))
                     (buffer-mime-info (mark-buffer mark))))))
          (if (pair? alist)
-             (if (and (pair? (cdr alist)) (not always-prompt?))
+             (if (or (pair? (cdr alist)) always-prompt?)
                  (prompt-for-alist-value prompt
                                          alist
                                          (and info