Mercurial > emacs
changeset 33124:4e779ba474ee
(mml-parse-1): Clarify message.
(mml-minibuffer-read-type): Use mailcap-mime-types.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 01 Nov 2000 18:59:45 +0000 |
parents | 18591e92c712 |
children | 3cf5505c9a77 |
files | lisp/gnus/mml.el |
diffstat | 1 files changed, 3 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus/mml.el Wed Nov 01 16:27:08 2000 +0000 +++ b/lisp/gnus/mml.el Wed Nov 01 18:59:45 2000 +0000 @@ -2,6 +2,7 @@ ;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> +;; Maintainer: bugs@gnus.org ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify @@ -132,7 +133,7 @@ (when (and (not raw) (memq nil charsets)) (if (or (memq 'unknown-encoding mml-confirmation-set) (y-or-n-p - "Warning: You message contains characters with unknown encoding. Really send?")) + "Message contains characters with unknown encoding. Really send?")) (if (setq use-ascii (or (memq 'use-ascii mml-confirmation-set) (y-or-n-p "Use ASCII as charset?"))) @@ -704,25 +705,7 @@ "application/octet-stream")) (string (completing-read (format "Content type (default %s): " default) - (mapcar - 'list - (mm-delete-duplicates - (nconc - (mapcar 'cdr mailcap-mime-extensions) - (apply - 'nconc - (mapcar - (lambda (l) - (delq nil - (mapcar - (lambda (m) - (let ((type (cdr (assq 'type (cdr m))))) - (if (equal (cadr (split-string type "/")) - "*") - nil - type))) - (cdr l)))) - mailcap-mime-data)))))))) + (mapcar 'list (mailcap-mime-types))))) (if (not (equal string "")) string default)))